Skip to content

Commit

Permalink
fix: remove prepub
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed May 6, 2021
1 parent 806c990 commit 6b623ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages-serverless/serverless-scf-starter/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
const isOutputError = () => {
return (
process.env.SERVERLESS_OUTPUT_ERROR_STACK === 'true' ||
['local', 'development', 'prepub'].includes(
['local', 'development'].includes(
process.env.MIDWAY_SERVER_ENV
) ||
['local', 'development', 'prepub'].includes(process.env.NODE_ENV)
['local', 'development'].includes(process.env.NODE_ENV)
);
};

Expand Down

0 comments on commit 6b623ed

Please sign in to comment.