Skip to content

Commit

Permalink
appveyor: make node version check less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse committed Feb 14, 2020
1 parent 669b5e0 commit ad37d3f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions appveyor.yml
Expand Up @@ -26,10 +26,8 @@ install:
- ps: >-
if ($env:nodejs_version -eq "4") {
npm install -g npm@3;
} elseif (
$env:nodejs_version -eq "8" -or
$env:nodejs_version -eq "10" -or
$env:nodejs_version -eq "12") {
}
if ($env:nodejs_version -in @("8", "10", "12")) {
npm install -g npm@6.10.3;
}
- npm install
Expand Down

0 comments on commit ad37d3f

Please sign in to comment.