Skip to content

Commit 7e5e743

Browse files
matejchalkBioPhoton
authored andcommitted
fix: formatting
1 parent 9da555c commit 7e5e743

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/scripts/publish.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ const [, , name, version, tag = 'next'] = process.argv;
2828
const validVersion = /^\d+\.\d+\.\d+(-\w+\.\d+)?/;
2929
invariant(
3030
version && validVersion.test(version),
31-
`No version provided or version did not match Semantic Versioning, expected: #.#.#-tag.# or #.#.#, got ${version}.`
31+
`No version provided or version did not match Semantic Versioning, expected: #.#.#-tag.# or #.#.#, got ${version}.`,
3232
);
3333

3434
const graph = readCachedProjectGraph();
3535
const project = graph.nodes[name];
3636

3737
invariant(
3838
project,
39-
`Could not find project "${name}" in the workspace. Is the project.json configured correctly?`
39+
`Could not find project "${name}" in the workspace. Is the project.json configured correctly?`,
4040
);
4141

4242
const outputPath = project.data?.targets?.build?.options?.outputPath;
4343
invariant(
4444
outputPath,
45-
`Could not find "build.options.outputPath" of project "${name}". Is project.json configured correctly?`
45+
`Could not find "build.options.outputPath" of project "${name}". Is project.json configured correctly?`,
4646
);
4747

4848
process.chdir(outputPath);

0 commit comments

Comments
 (0)