Skip to content

Commit 36718ba

Browse files
committed
fix
1 parent 8ef6694 commit 36718ba

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/app.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ export class App<State> {
256256
!this.#buildCache.hasSnapshot && this.config.mode === "production" &&
257257
DENO_DEPLOYMENT_ID !== undefined
258258
) {
259-
const message = DENO_DEPLOYMENT_ID
260-
? '`deno task build` must be run before starting the server. Go to "Settings" in Deno Deploy and set the build command to `deno task build`.'
261-
: "`deno task build` must be run before starting the server.";
262-
throw new SetupError(message);
259+
throw new SetupError(
260+
'`deno task build` must be run before starting the server. Go to "Settings" in Deno Deploy and set the build command to `deno task build`.',
261+
);
263262
}
264263

265264
return async (

0 commit comments

Comments
 (0)