Skip to content

Commit

Permalink
use yarn on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
weinand committed Feb 8, 2019
1 parent 9f1b94c commit d7773c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
install:
- ps: Install-Product node 7.9.0 x64
- ps: Install-Product node 10.2 x64

build_script:
- npm install
- yarn install

test_script:
- npm test
- yarn test
2 changes: 1 addition & 1 deletion src/tests/adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ suite('Node Debug Adapter', () => {
const result = CP.spawnSync('node', ['--version']);
const semVerString = result.stdout ? result.stdout.toString() : undefined;
if (semVerString) {
console.log(`semVerString`);
console.log(`NVM_HOME: ${env.NVM_HOME}`);
const match = semVerString.trim().match(/v(\d+)\.(\d+)\.(\d+)/);
if (match && match.length === 4 && parseInt(match[1]) >= 8) {
env = PathUtils.extendObject({}, process.env);
Expand Down

0 comments on commit d7773c0

Please sign in to comment.