Skip to content

Commit 15fd296

Browse files
committed
chore: nvs path is different to nvm path
1 parent 6892860 commit 15fd296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ before_install:
2828
# prevents windows error: npm ERR! ... git-sh-setup: file not found
2929
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
3030
# allow windows to run scripts with node 14 and npm 7 (may not be necessary when node 14 is no longer lts)
31-
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export PATH=`npm prefix -g`/node_modules/npm/bin:$PATH ; fi
31+
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export PATH=`npm prefix -g`:$PATH ; fi
3232
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm config set script-shell c:/PROGRA~1/Git/bin/bash.exe ; fi
3333
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm config set loglevel verbose ; fi
3434
# workspaces require npm 7 or above

0 commit comments

Comments
 (0)