Skip to content

Commit c73d66d

Browse files
fix(examples): correct subCommand check (#2850)
1 parent 109afbf commit c73d66d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/default/commands/generate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function cliExecutor(logger, state) {
4848
} else {
4949
// We only need to generate for the specified sub command.
5050
const subCommand = state.command.at(-1);
51-
if (subCommand === "generate") {
51+
if (subCommand === "application") {
5252
steps.unshift(generateApplication);
5353
}
5454
}

‎examples/with-auth/commands/generate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function cliExecutor(logger, state) {
4848
} else {
4949
// We only need to generate for the specified sub command.
5050
const subCommand = state.command.at(-1);
51-
if (subCommand === "generate") {
51+
if (subCommand === "application") {
5252
steps.unshift(generateApplication);
5353
}
5454
}

0 commit comments

Comments
 (0)