added @chriseppsteins suggestion for issue #300
This commit is contained in:
parent
b6ca6e4efb
commit
d080fdddb7
@ -37,6 +37,7 @@ module Compass
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_for_sass_files!(compiler)
|
def check_for_sass_files!(compiler)
|
||||||
|
compiler.clean! if compiler.new_config?
|
||||||
if compiler.sass_files.empty? && !dry_run?
|
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 = "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."
|
message << "Run \"compass -h\" to get help."
|
||||||
|
Loading…
Reference in New Issue
Block a user