Skip to content

Commit

Permalink
Merge pull request #11 from CarlJi/vcs_fix
Browse files Browse the repository at this point in the history
feat: fix vcs modified bug
  • Loading branch information
e06084 authored Dec 16, 2022
2 parents 278fa71 + de0d799 commit 65a1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func collectFromBuildInfo() {
}

case "vcs.modified":
if GitTreeState == unknownProperty && kv.Value != "" {
if GitTreeState == unknownProperty && kv.Value == "true" {
GitTreeState = "dirty"
}
}
Expand Down

0 comments on commit 65a1f1c

Please sign in to comment.