From b1b8a2f107c53f7c16bb6b185f7375e2e9627295 Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 6 Sep 2023 20:56:54 +0000 Subject: [PATCH 1/2] fix: dont assume safety of nvm --- yarn-project/bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index 39036119ed7..0cc3773e585 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -10,7 +10,9 @@ if [ "$(uname)" = "Darwin" ]; then else \. ~/.nvm/nvm.sh fi +set +eu nvm install +set -eu yarn install --immutable From a13af3dcd0eed73ba994d1c9caf4d1a46d8451cd Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 6 Sep 2023 16:59:21 -0400 Subject: [PATCH 2/2] Update bootstrap.sh --- yarn-project/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index 0cc3773e585..f3ad539416e 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -10,7 +10,7 @@ if [ "$(uname)" = "Darwin" ]; then else \. ~/.nvm/nvm.sh fi -set +eu +set +eu # nvm runs in our context - don't assume it's compatible with these flags nvm install set -eu