Skip to content

Commit d2c9e38

Browse files
committed
CC issues
1 parent 706a4c1 commit d2c9e38

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.codeclimate.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ engines:
1313
rubocop:
1414
enabled: true
1515
exclude_fingerprints:
16-
# Ignoring long method length for Issue#to_json
17-
- 3d618821b1ce28599d6c54f90bb4df59
16+
# Ignoring long method length for Analyzer#run
17+
- b18e3ac8a9b02f26a0b769f67d758761
18+
# Ignoring long method length for UnpatchedGemIssue#to_json
19+
- 60d15e0a35747ad1c4a7dfe29301f3bd
20+
# Ignoring long method length for InsecureSourceIssue#to_json
21+
- f861a7b796b8b07217f4a75db9bb631d
1822
ratings:
1923
paths:
2024
- "**.rb"

lib/cc/engine/bundler_audit/analyzer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def run
1414
if gemfile_lock_exists?
1515
Dir.chdir(directory) do
1616
Bundler::Audit::Scanner.new.scan do |vulnerability|
17-
if issue = issue_for_vulerability(vulnerability)
17+
if (issue = issue_for_vulerability(vulnerability))
1818
stdout.print("#{issue.to_json}\0")
1919
else
2020
stderr.print("Unsupported vulnerability: #{vulnerability.class.name}")

0 commit comments

Comments
 (0)