Fix creation of 1 file in $HOME directory

This commit is contained in:
enggnr 2023-04-26 20:31:48 +05:30
parent 9ebd7f71e0
commit 535da4d110

View file

@ -1068,7 +1068,7 @@ async function ensurePackageManager(packageManager) {
`
}
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`
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') {