Skip to content

Commit

Permalink
moved config check to perform
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdavis committed May 26, 2011
1 parent d080fdd commit bcc3000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compass/commands/update_project.rb
Expand Up @@ -33,11 +33,11 @@ def initialize(working_path, options)
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."
Expand Down

0 comments on commit bcc3000

Please sign in to comment.