Skip to content
Snippets Groups Projects
Unverified Commit a5f5c9dc authored by Huu Le's avatar Huu Le Committed by GitHub
Browse files

fix always ask post installation action (#376)

parent 2be68d1c
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,9 @@ export const askProQuestions = async (program: QuestionArgs) => { ...@@ -88,7 +88,9 @@ export const askProQuestions = async (program: QuestionArgs) => {
questionHandlers, questionHandlers,
); );
program.llamapack = llamapack; 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 return; // early return - no further questions needed for llamapack projects
} }
...@@ -396,5 +398,7 @@ export const askProQuestions = async (program: QuestionArgs) => { ...@@ -396,5 +398,7 @@ export const askProQuestions = async (program: QuestionArgs) => {
program.tools = tools; program.tools = tools;
} }
program.postInstallAction = await askPostInstallAction(program); if (!program.postInstallAction) {
program.postInstallAction = await askPostInstallAction(program);
}
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment