File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
yarn-project/aztec/scripts Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44script_dir=" $( dirname " $( realpath " $0 " ) " ) "
55
66function aztec {
7- node --no-warnings $script_dir /../dest/bin/index.js " $@ "
7+ exec node --no-warnings $script_dir /../dest/bin/index.js " $@ "
88}
99
1010cmd=${1:- }
You can’t perform that action at this time.
0 commit comments