diff --git a/examples/default/commands/generate.js b/examples/default/commands/generate.js index 4852396626..2ca99fad5a 100644 --- a/examples/default/commands/generate.js +++ b/examples/default/commands/generate.js @@ -48,7 +48,7 @@ async function cliExecutor(logger, state) { } else { // We only need to generate for the specified sub command. const subCommand = state.command.at(-1); - if (subCommand === "generate") { + if (subCommand === "application") { steps.unshift(generateApplication); } } diff --git a/examples/with-auth/commands/generate.js b/examples/with-auth/commands/generate.js index 903639d4d5..ed8f779622 100644 --- a/examples/with-auth/commands/generate.js +++ b/examples/with-auth/commands/generate.js @@ -48,7 +48,7 @@ async function cliExecutor(logger, state) { } else { // We only need to generate for the specified sub command. const subCommand = state.command.at(-1); - if (subCommand === "generate") { + if (subCommand === "application") { steps.unshift(generateApplication); } }