From e49af1b989548aa2722193be68121736a647bbb0 Mon Sep 17 00:00:00 2001 From: leehuwuj Date: Mon, 25 Mar 2024 07:55:45 +0700 Subject: [PATCH] better condition --- questions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }