Skip to content

Commit 875d23e

Browse files
committed
Ignore Windows related code for coverage
1 parent 77359bc commit 875d23e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const normalizeCommands = (commands: string | string[]): string[] => {
3434

3535
const normalizeOptions = (options: Options = {}): Required<Options> => {
3636
const pathToBin = path.join(process.cwd(), 'node_modules', '.bin')
37+
/* istanbul ignore next */
3738
const pathName = process.platform === 'win32' ? 'Path' : 'PATH'
3839
const newPath = pathToBin + path.delimiter + process.env[pathName]
3940
const env = {

0 commit comments

Comments
 (0)