Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Commit

Permalink
fix(istanbul): istanbul to ignore if branch, can't mock process.platf…
Browse files Browse the repository at this point in the history
…orm for coverage.
  • Loading branch information
NogsMPLS committed Nov 12, 2015
1 parent f0fb179 commit 125055d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function getCommandArgsAndEnvVars(args) {
command = shifted;
break;
}
/* istanbul ignore else */
if (process.platform === 'win32') {
envVars.APPDATA = process.env.APPDATA;
}
Expand Down

0 comments on commit 125055d

Please sign in to comment.