lib/pronto/brakeman.rb in pronto-brakeman-0.4.1 vs lib/pronto/brakeman.rb in pronto-brakeman-0.4.2
- old
+ new
@@ -17,9 +17,11 @@
only_files: files)
messages_for(ruby_patches, output).compact
else
[]
end
+ rescue ::Brakeman::NoApplication
+ []
end
def messages_for(ruby_patches, output)
output.filtered_warnings.map do |warning|
patch = patch_for_warning(ruby_patches, warning)