From 535da4d11081b5e72fc78f7df6e105aefd0b4532 Mon Sep 17 00:00:00 2001 From: enggnr <129082112+enggnr@users.noreply.github.com> Date: Wed, 26 Apr 2023 20:31:48 +0530 Subject: [PATCH] Fix creation of `1` file in $HOME directory --- home/dot_local/bin/executable_install-program | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index e0011280..d0e56c47 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -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') {