lib/neetob/cli/github/brakeman.rb in neetob-0.4.16 vs lib/neetob/cli/github/brakeman.rb in neetob-0.4.19
- old
+ new
@@ -19,10 +19,10 @@
matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox)
matching_repos.each do |repo|
begin
ui.info("\nWorking on repo #{repo}")
clone_repo_in_tmp_dir(repo)
- bundle_install(repo)
+ bundle_install!(repo)
report = run_brakeman(repo)
ui.success("Successfully executed brakeman for #{repo}")
warnings = report.split("\n\n== Warnings ==\n\n").last&.split("\n\n")
if !report.include?("No warnings found") && !report.blank?
issue = client.create_issue(repo, DESCRIPTION, parse_description(warnings))