mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[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) {
|
||||
if ((err as any).code === 'ERR_MODULE_NOT_FOUND') {
|
||||
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 {
|
||||
throw err;
|
||||
|
|
Loading…
Reference in a new issue