We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2cece commit 4eb46ccCopy full SHA for 4eb46cc
lib/codeclimate_diff/codeclimate_wrapper.rb
@@ -18,7 +18,7 @@ def run_codeclimate(filename = "")
18
--platform #{docker_platform} \
19
codeclimate/codeclimate analyze -f json #{filename}`
20
21
- output.gsub(/.*?(?=\[{)/im, "") # remove everything before the first json object (ie WARNINGS)
+ output.gsub(/.*?(?=^\[{)/im, "") # remove everything before the first json object (ie WARNINGS)
22
end
23
24
def pull_latest_image
0 commit comments