Merge pull request #41 from megabyte-labs/12_1file

Fix creation of `1` file in $HOME directory
This commit is contained in:
Brian Zalewski 2023-05-10 01:29:46 -04:00 committed by GitHub
commit 7862525033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1068,7 +1068,7 @@ async function ensurePackageManager(packageManager) {
` `
} }
log('info', logStage, 'Ensuring Volt has Node.js runtime available') 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') { } else if (packageManager === 'pacman') {
await ensureInstalled('pacman', false) await ensureInstalled('pacman', false)
} else if (packageManager === 'pipx') { } else if (packageManager === 'pipx') {