From bb197d849b1ad951634d6b0fe2b7cf324a75046b Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 3 Apr 2009 12:09:45 -0700 Subject: [PATCH] Strip some trailing whitespace. --- lib/compass/actions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compass/actions.rb b/lib/compass/actions.rb index 61ffa9a3..92850b90 100644 --- a/lib/compass/actions.rb +++ b/lib/compass/actions.rb @@ -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]