Skip to content

Commit cbd4f5a

Browse files
committed
fix
1 parent cecd23d commit cbd4f5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

aztec-up/bin/aztec-install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function title() {
5555
echo
5656
read -p "Do you wish to continue? (y/n) " -n 1 -r
5757
echo
58+
echo
5859
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
5960
exit 1
6061
fi
@@ -102,7 +103,7 @@ function check_toolchains {
102103
local node_installed_version=$(node --version | cut -d 'v' -f 2 || echo "none")
103104
if [[ "$(printf '%s\n' "$node_min_version" "$node_installed_version" | sort -V | head -n1)" != "$node_min_version" ]]; then
104105
echo "Minimum Node.js version $node_min_version not found (got $node_installed_version)."
105-
echo "Installation: nvm install $node_min_version"
106+
echo "Installation: nvm install --lts && nvm alias default lts/*"
106107
exit 1
107108
fi
108109
}
@@ -210,7 +211,6 @@ function main {
210211
# Show title if we're in a terminal.
211212
[ "$NON_INTERACTIVE" -eq 0 ] && title
212213

213-
echo
214214
check_toolchains
215215

216216
# Install aztec-up

yarn-project/aztec/scripts/aztec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
script_dir="$(dirname "$(realpath "$0")")"
55

66
function aztec {
7-
node --no-warnings $script_dir/../dest/bin/index.js "$@"
7+
exec node --no-warnings $script_dir/../dest/bin/index.js "$@"
88
}
99

1010
cmd=${1:-}

0 commit comments

Comments
 (0)