Strip some trailing whitespace.

This commit is contained in:
Chris Eppstein 2009-04-03 12:09:45 -07:00
parent e18ed8118b
commit bb197d849b

View File

@ -25,7 +25,7 @@ module Compass
else
logger.record :directory, separate("#{basename(dir)}/")
FileUtils.mkdir_p(dir) unless options[:dry_run]
end
end
end
# Write a file given the file contents as a string
@ -67,7 +67,7 @@ module Compass
def basename(file)
relativize(file) {|f| File.basename(file)}
end
def relativize(path)
if path.index(working_path+File::SEPARATOR) == 0
path[(working_path+File::SEPARATOR).length..-1]