Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 268114f

Browse files
committed
Remove non-alphanumeric characters from commit uuid
1 parent 1629cfb commit 268114f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/codacy/client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def self.logger
5353
end
5454

5555
def self.create_url(codacy_base_api, commit)
56+
commit = commit.gsub(/[^[:alnum:]]/, "")
5657
codacy_base_api + '/2.0/coverage/' + commit + '/ruby'
5758
end
5859
end

0 commit comments

Comments
 (0)