diff --git a/questions/questions.ts b/questions/questions.ts index e48d3c08050d0b7ab7322c58cb04ddadf51c869b..0577de5b0e772943bca15acae84245a70392fe96 100644 --- a/questions/questions.ts +++ b/questions/questions.ts @@ -88,7 +88,9 @@ export const askProQuestions = async (program: QuestionArgs) => { questionHandlers, ); program.llamapack = llamapack; - program.postInstallAction = await askPostInstallAction(program); + if (!program.postInstallAction) { + program.postInstallAction = await askPostInstallAction(program); + } return; // early return - no further questions needed for llamapack projects } @@ -396,5 +398,7 @@ export const askProQuestions = async (program: QuestionArgs) => { program.tools = tools; } - program.postInstallAction = await askPostInstallAction(program); + if (!program.postInstallAction) { + program.postInstallAction = await askPostInstallAction(program); + } };