From 0670ebd2ac1e872c0b2049c464f2ef9729a46263 Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Tue, 31 Oct 2023 23:41:12 +0800 Subject: [PATCH] Update debug --- .scripts/automation_generate.sh | 5 ++++- .scripts/automation_init.sh | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh index 933d0e9b689c..77fd98de8f3e 100644 --- a/.scripts/automation_generate.sh +++ b/.scripts/automation_generate.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash -. ~/.bashrc +cat ~/.bashrc +echo ">>>>>>>>>>>>>>>" +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm use default whereis code-gen-pipeline whereis node diff --git a/.scripts/automation_init.sh b/.scripts/automation_init.sh index afd19458de4b..e4a8bb773f03 100644 --- a/.scripts/automation_init.sh +++ b/.scripts/automation_init.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash +cat ~/.bashrc +echo ">>>>>>>>>>>>>>>" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install v18.15.0