diff --git a/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs b/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs index 1589eddbdad37..e7fb092179315 100644 --- a/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs +++ b/src/dev/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs @@ -129,9 +129,11 @@ export const command = { }); log.success('shared webpack bundles built'); }), - time('run install scripts', async () => { - await runInstallScripts(log, { quiet }); - }), + shouldInstall + ? time('run install scripts', async () => { + await runInstallScripts(log, { quiet }); + }) + : undefined, ]); await time('sort package json', async () => {