This commit is contained in:
John Bintz 2011-06-26 16:11:33 -04:00
parent 56e71e7ada
commit 7ca6900570

View File

@ -25,7 +25,7 @@ module Guard
UI.info "Guard::JasmineHeadlessWebkit running all specs..." UI.info "Guard::JasmineHeadlessWebkit running all specs..."
JasmineHeadlessWebkitRunner.run if run_all_things_before JasmineHeadlessWebkitRunner.run if run_all_things_before
@ran_before = false @ran_before = false
rescue CoffeeScript::CompilationError rescue ::CoffeeScript::CompilationError
rescue StandardError => e rescue StandardError => e
puts e.message puts e.message
puts e.backtrace.join("\n") puts e.backtrace.join("\n")
@ -44,7 +44,7 @@ module Guard
run_all run_all
end end
end end
rescue CoffeeScript::CompilationError rescue ::CoffeeScript::CompilationError
rescue StandardError => e rescue StandardError => e
puts e.message puts e.message
puts e.backtrace.join("\n") puts e.backtrace.join("\n")