[ci] format
This commit is contained in:
parent
281ea9fc34
commit
5877dcb7e9
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ const preview: CreatePreviewServer = async function ({
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if ((err as any).code === 'ERR_MODULE_NOT_FOUND') {
|
if ((err as any).code === 'ERR_MODULE_NOT_FOUND') {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`The server entrypoint ${fileURLToPath(serverEntrypoint)} does not exist. Have you ran a build yet?`
|
`The server entrypoint ${fileURLToPath(
|
||||||
|
serverEntrypoint
|
||||||
|
)} does not exist. Have you ran a build yet?`
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw err;
|
throw err;
|
||||||
|
|
Loading…
Reference in a new issue