Skip to content

Commit 0822c7a

Browse files
committed
fix commands
1 parent 9d8ee1a commit 0822c7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/open-next/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { printHeader } from "./build/utils.js";
1010
const command = process.argv[2];
1111
if (
1212
command !== "build" &&
13-
command !== "local:config" &&
14-
command !== "local:run"
13+
command !== "generate local" &&
14+
command !== "preview"
1515
)
1616
printHelp();
1717

@@ -48,7 +48,7 @@ function parseArgs() {
4848
async function buildLocalConfig() {
4949
if (!existsSync(LOCAL_CONFIG_PATH)) {
5050
console.error(
51-
"open-next.config.local.ts does not exist. You can run `local:config` first to generate it.",
51+
"open-next.config.local.ts does not exist. You can run `generate local` first to generate it.",
5252
);
5353
process.exit(1);
5454
}

0 commit comments

Comments
 (0)