Skip to content

Commit 229884d

Browse files
add return
1 parent fc301a4 commit 229884d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git-version.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module GitVersion
8080

8181
def current_commit_hash_without_prefix : String
8282
cmd = "git rev-parse --verify HEAD --short"
83-
sha = (exec cmd)[0].strip
83+
return (exec cmd)[0].strip
8484
end
8585

8686
def commits_distance(tag : String | Nil)

0 commit comments

Comments
 (0)