Skip to content

Commit

Permalink
Fix logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leosunmo committed Mar 7, 2023
1 parent c507612 commit 188f89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func main() {
}

if *getCommit || getDefault {
if commit != "" {
if commit == "" {
log.Fatalf("Failed to get current commit from %s\n", path)
}
idents = append(idents, commit)
Expand Down

0 comments on commit 188f89e

Please sign in to comment.