Skip to content

Commit 9981350

Browse files
committed
Align version check message to describe a requirement than an error.
1 parent 5a65297 commit 9981350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/package.json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ console.log("Checking presence and type of fields:");
331331
field(["name"], "string");
332332
field(["version"], "string", {
333333
additionalChecks: {
334-
"Version cannot be parsed.": (version: string) =>
334+
"Version must parse successfully.": (version: string) =>
335335
semver.order(version, version) === 0,
336336
},
337337
});

0 commit comments

Comments
 (0)