Fixing issue with jasmine headless webkit returning 'true' when a compilation error occurs
This commit is contained in:
parent
9b6cb02d06
commit
70b26b2c08
@ -72,9 +72,8 @@ module Guard
|
||||
else
|
||||
UI.info(SOME_SPECS_MESSAGE % paths.join(' '))
|
||||
end
|
||||
|
||||
if failed_files = JasmineHeadlessWebkitRunner.run(paths, @filtered_options)
|
||||
@files_to_rerun = failed_files
|
||||
failed_files = @files_to_rerun = failed_files.is_a?(Array) ? failed_files : []
|
||||
end
|
||||
|
||||
failed_files && failed_files.empty?
|
||||
|
Loading…
Reference in New Issue
Block a user