From 98350c3e19e5aae359a15201e99b9ee5b4503c93 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Tue, 19 Jul 2011 12:32:26 -0400 Subject: [PATCH] fixed a nil bug in the latest ruby 1.9.2 --- lib/compass/actions.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compass/actions.rb b/lib/compass/actions.rb index 4e924f1b..288e3370 100644 --- a/lib/compass/actions.rb +++ b/lib/compass/actions.rb @@ -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