Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 22, 2024
1 parent 81a26bb commit cab6b86
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ NVM_DIR_CACHED="${NVM_DIR}"
nvm unload || die 'unloading returned nonzero exit code'
NVM_DIR="${NVM_DIR_CACHED}"

# in case the env has a second nvm, like GHA
nvm deactivate ||:

echo '0.10.1' > ../../alias/default || die 'creation of default alias failed'

which node && die 'node was found in PATH after unloading nvm'
which node && NVM_DIR="/home/runner/mynvm" nvm deactivate && which node && die 'node was found in PATH after unloading nvm'

# Now to begin the real test
\. ../../nvm.sh || die 'sourcing returned nonzero exit code'
Expand Down

0 comments on commit cab6b86

Please sign in to comment.