Use expand_path to match the behavior is Sass. Fixes a bug that causes compass to always compile all files.

This commit is contained in:
Chris Eppstein 2011-04-24 15:08:14 -07:00
parent 75901f9287
commit a997fa2332

View File

@ -57,7 +57,7 @@ module Compass
end
def needs_update?(css_filename, sass_filename)
staleness_checker.stylesheet_needs_update?(css_filename, relative_stylesheet_name(sass_filename), importer)
staleness_checker.stylesheet_needs_update?(css_filename, File.expand_path(sass_filename), importer)
end
# Determines if the configuration file is newer than any css file