lib/neetob/cli/github/brakeman.rb in neetob-0.4.6 vs lib/neetob/cli/github/brakeman.rb in neetob-0.4.7
- old
+ new
@@ -37,10 +37,10 @@
end
private
def run_brakeman(repo)
- `#{cd_to_repo_in_tmp_dir(repo)} && brakeman`
+ `#{cd_to_repo(repo)} && brakeman`
end
def parse_description(warnings)
warning_descriptions = warnings.map do |warning|
code_line = warning.scan(/Code: (.*)\n/).flatten.first