fixed a nil bug in the latest ruby 1.9.2
This commit is contained in:
parent
0c1342746e
commit
98350c3e19
@ -65,6 +65,7 @@ module Compass
|
|||||||
end
|
end
|
||||||
|
|
||||||
def remove(file_name)
|
def remove(file_name)
|
||||||
|
file_name ||= ''
|
||||||
if File.directory?(file_name)
|
if File.directory?(file_name)
|
||||||
FileUtils.rm_rf file_name
|
FileUtils.rm_rf file_name
|
||||||
log_action :remove, basename(file_name)+"/", options
|
log_action :remove, basename(file_name)+"/", options
|
||||||
|
Loading…
Reference in New Issue
Block a user