Skip to content

Commit

Permalink
feat: fix vcs modified bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi committed Dec 16, 2022
1 parent 278fa71 commit de0d799
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 de0d799

Please sign in to comment.