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 fc301a4 commit 229884dCopy full SHA for 229884d
src/git-version.cr
@@ -80,7 +80,7 @@ module GitVersion
80
81
def current_commit_hash_without_prefix : String
82
cmd = "git rev-parse --verify HEAD --short"
83
- sha = (exec cmd)[0].strip
+ return (exec cmd)[0].strip
84
end
85
86
def commits_distance(tag : String | Nil)
0 commit comments