Skip to content

Commit 2a58da5

Browse files
committed
Fix node version
1 parent eb73051 commit 2a58da5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis/script.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/bin/bash
22

3+
# Save current version
4+
NODE_VERSION=$(node --version)
5+
36
source $NVM_DIR/nvm.sh
47

58
install() {
6-
# Save current version
7-
NODE_VERSION=$(node --version)
89
echo install:restore:NODE_VERSION=$NODE_VERSION
910
nvm install 10
1011

0 commit comments

Comments
 (0)