We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c965ad7 commit ee2b3b9Copy full SHA for ee2b3b9
scripts/update-version.ts
@@ -21,7 +21,7 @@ function update(path: string) {
21
const packageJsonText = yield* fs.readFileString(path, "utf8");
22
const packageJson = JSON.parse(packageJsonText);
23
if (!isMatching({ version: P.string }, packageJson)) {
24
- yield* Effect.fail(new Error(`Invalid package.json at ${path}: missing version field`));
+ yield* Effect.fail(new Error(`Invalid package.json at ${path}: invalid or missing version field`));
25
}
26
const newVersion = yield* version;
27
const oldVersion = match(packageJson)
0 commit comments