Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Commit 4d9ea3f

Browse files
committed
impr: update - print empty version as latest
1 parent 38adf88 commit 4d9ea3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/update.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ func UpdateAll(args []string) error {
5050
log("✓ already at the latest version")
5151
continue
5252
}
53-
log("✓ updated package %s to %s", updPkg.FullName(), updPkg.Version)
53+
updVersion := updPkg.Version
54+
if updVersion == "" {
55+
updVersion = "latest version"
56+
}
57+
log("✓ updated package %s to %s", updPkg.FullName(), updVersion)
5458
count += 1
5559
}
5660

0 commit comments

Comments
 (0)