Update file executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-25 10:19:44 +00:00
parent c0dbf13b8b
commit ca945e566e

View file

@ -867,6 +867,8 @@ async function ensurePackageManager(packageManager) {
volta install node 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') { } else if (packageManager === 'pacman') {
await ensureInstalled('pacman', false) await ensureInstalled('pacman', false)
} else if (packageManager === 'pipx') { } else if (packageManager === 'pipx') {