moved config check to perform
This commit is contained in:
parent
d080fdddb7
commit
bcc3000860
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user