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

Commit 4d3fa17

Browse files
committed
fix some codacy issues
1 parent b9eecb9 commit 4d3fa17

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/codacy/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.post_results(parsed_result)
2121
logger.error 'Could not find the current commit, make sure that you are running inside a git project.'
2222
false
2323
else
24-
logger.info('Posting ' + result.to_s.bytes.length.to_s + ' bytes to ' + url)
24+
logger.info('Posting ' + result.to_s.length + ' bytes to ' + url)
2525
response = send_request(url, result, project_token)
2626

2727
logger.info(response)

lib/codacy/git.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ def self.commit_id
1313
commit
1414
end
1515

16-
private
17-
1816
def self.git_commit
1917
git("log -1 --pretty=format:'%H'")
2018
end

0 commit comments

Comments
 (0)