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

Commit 8c37717

Browse files
committed
Fix project base path
1 parent 980583c commit 8c37717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codacy/git.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def self.git_commit
1818
end
1919

2020
def self.git_dir
21-
return `git rev-parse --show-toplevel`
21+
return `git rev-parse --show-toplevel`.strip!
2222
end
2323

2424
def self.git(command)

0 commit comments

Comments
 (0)