Skip to content

Commit

Permalink
fix: remove stg from mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 30, 2023
1 parent 5c121fc commit 660c09c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/wb/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { runWithSpawn } from '../scripts/run.js';
const builder = {
...scriptOptionsBuilder,
mode: {
description: 'Start mode: dev[elopment] (default) | stg | staging | docker',
description: 'Start mode: dev[elopment] (default) | staging | docker',
type: 'string',
alias: 'm',
},
Expand Down Expand Up @@ -53,7 +53,6 @@ export const startCommand: CommandModule<unknown, InferredOptionTypes<typeof bui
await runWithSpawn(`WB_ENV=${process.env.WB_ENV} ${scripts.start(argv)}`, argv);
break;
}
case 'stg':
case 'staging': {
process.env.WB_ENV ||= 'staging';
loadEnvironmentVariables(argv, project.dirPath);
Expand Down

0 comments on commit 660c09c

Please sign in to comment.