Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 3df7708

Browse files
committed
Update debug
1 parent c69917a commit 3df7708

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.scripts/automation_generate.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/usr/bin/env bash
2-
cat ~/.bashrc
3-
. ~/.bashrc
4-
export NVM_DIR="$HOME/.nvm"
5-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
6-
nvm use v18.15.0
2+
nvm use default
73
whereis code-gen-pipeline
84
whereis node
95
node -v

.scripts/automation_init.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
#!/usr/bin/env bash
22
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
33
export NVM_DIR="$HOME/.nvm"
4-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
4+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
55
nvm install v18.15.0
6-
nvm use v18.15.0
6+
nvm alias default node
77
npm install -g @microsoft/[email protected]
88
npm install -g @azure-tools/js-sdk-release-tools
99
whereis code-gen-pipeline
1010
whereis node
11-
. ~/.bashrc
12-
cat ~/.bashrc
13-
14-
#code-gen-pipeline: /home/cloudtest/.nvm/versions/node/v18.15.0/bin/code-gen-pipeline
15-
#node: /usr/local/bin/node /home/cloudtest/.nvm/versions/node/v18.15.0/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node
16-
#node: /usr/local/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node

0 commit comments

Comments
 (0)