Skip to content

Commit b2f01a1

Browse files
committed
fix: parse modified git tree flag correctly
1 parent 959c8e1 commit b2f01a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func printVersion() {
168168
case "vcs.time":
169169
buildTime, _ = time.Parse(time.RFC3339, setting.Value)
170170
case "vcs.modified":
171-
modified = true
171+
modified, _ = strconv.ParseBool(setting.Value)
172172
}
173173
}
174174
}

0 commit comments

Comments
 (0)