From ca945e566eb97b8fdc849364c99c89f64dbe1fd8 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sun, 25 Dec 2022 10:19:44 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 4078def3..f4fb23d4 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -867,6 +867,8 @@ async function ensurePackageManager(packageManager) { volta install node ` } + log('info', logStage, 'Ensuring Volt has Node.js runtime available') + await $`if ! volta list 2>1 | grep 'runtime node' > /dev/null; then volta install node; fi` } else if (packageManager === 'pacman') { await ensureInstalled('pacman', false) } else if (packageManager === 'pipx') {