Skip to content

Commit

Permalink
Seems changes done in docker do not persist, had to reapply them
Browse files Browse the repository at this point in the history
  • Loading branch information
userwiths committed Jul 30, 2024
1 parent 5a28180 commit 650b069
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh
#!/bin/bash

set -ex
die () { echo "$@" ; exit 1; }
\. ../../../nvm.sh
set -x
\. ../../nvm.sh

NVM_TEST_VERSION=v9

Expand All @@ -12,5 +11,10 @@ NVM_TEST_VERSION=v9
# Write it to nvmrc
echo "$NVM_TEST_VERSION" > .nvmrc

output="$(../../nvm-exec 2>&1)";
expected='N/A: version "v9" is not yet installed.
You need to run `nvm install v9` to install and use it.
No NODE_VERSION provided; no .nvmrc file found';
# Skip install, we want to test the error message
nvm-exec
diff <(echo "$expected") <(echo "$output")

0 comments on commit 650b069

Please sign in to comment.