Skip to content

Commit

Permalink
Merge pull request #392 from dxw/chore/run-brakeman-externally
Browse files Browse the repository at this point in the history
Update bundler -> 2.0 / run brakeman externally
  • Loading branch information
lozette committed Apr 17, 2019
2 parents 6353ec6 + d3cf238 commit bc4c7c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -466,4 +466,4 @@ RUBY VERSION
ruby 2.5.5p157

BUNDLED WITH
1.17.3
2.0.1
9 changes: 1 addition & 8 deletions lib/tasks/brakeman.rake
Expand Up @@ -2,14 +2,7 @@ if Rails.env.development? || Rails.env.test?
namespace :brakeman do
desc 'Run Brakeman'
task :run do
require 'brakeman'

Brakeman.run(
app_path: '.',
quiet: true,
pager: false,
print_report: true
)
system("bundle exec brakeman --quiet --no-pager #{Rails.root}")
end
end
end

0 comments on commit bc4c7c8

Please sign in to comment.