fixed a nil bug in the latest ruby 1.9.2

This commit is contained in:
Scott Davis 2011-07-19 12:32:26 -04:00
parent 0c1342746e
commit 98350c3e19

View File

@ -65,6 +65,7 @@ module Compass
end
def remove(file_name)
file_name ||= ''
if File.directory?(file_name)
FileUtils.rm_rf file_name
log_action :remove, basename(file_name)+"/", options