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 cb93700 commit 806c990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages-serverless/serverless-fc-starter/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import * as util from 'util';
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 806c990

Please sign in to comment.