From bcc30008609e24cafef9ef736d3e9e0ff3f8f48b Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Thu, 26 May 2011 15:00:54 -0400 Subject: [PATCH] moved config check to perform --- lib/compass/commands/update_project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/commands/update_project.rb b/lib/compass/commands/update_project.rb index 99474b86..1eb0a595 100644 --- a/lib/compass/commands/update_project.rb +++ b/lib/compass/commands/update_project.rb @@ -33,11 +33,11 @@ module Compass def perform compiler = new_compiler_instance check_for_sass_files!(compiler) + compiler.clean! if compiler.new_config? compiler.run end def check_for_sass_files!(compiler) - compiler.clean! if compiler.new_config? if compiler.sass_files.empty? && !dry_run? message = "Nothing to compile. If you're trying to start a new project, you have left off the directory argument.\n" message << "Run \"compass -h\" to get help."