diff --git a/questions.ts b/questions.ts index 6d7292c0..463d3c72 100644 --- a/questions.ts +++ b/questions.ts @@ -801,7 +801,7 @@ export const askQuestions = async ( handlers, ); program.dataSource.config.push({ baseUrl, prefix, depth: 1 }); - if (shouldContinue !== undefined && !shouldContinue) { + if (!shouldContinue) { break; } }