# File lib/compass/commands/update_project.rb, line 81 def check_for_sass_files!(compiler) file_list = compiler.file_list if file_list.empty? message = "Compass can't find any Sass files to compile.\nIs your compass configuration correct?.\nIf you're trying to start a new project, you have left off the directory argument.\n" message << "Run \"compass -h\" to get help." raise Compass::Error, message elsif missing = file_list.find {|(sass_file, _, _)| !File.exist?(sass_file)} raise Compass::Error, "File not found: #{missing[0]}" end end