Skip to content

Commit 6e562d8

Browse files
committed
use forward slashes to make Git Bash happy
1 parent 6f78b43 commit 6e562d8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const {spawn} = require('child_process');
88

99
const foregroundChild = require('foreground-child');
1010
const normalizePackageData = require('normalize-package-data');
11+
const slash = require('slash');
1112
const which = require('which');
1213
const yargsParser = require('yargs-parser');
1314

@@ -176,7 +177,7 @@ const willUploadLcov = /^1|true$/ui.test(process.env.CI) || !!process.env.GITHUB
176177
'-X',
177178
'gcovout',
178179
'-f',
179-
join(cwd, 'coverage', 'lcov.info')
180+
slash(join(cwd, 'coverage', 'lcov.info'))
180181
]
181182
] : [
182183
'npx',

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"files": [
1313
"index.js",
14-
"nycrc.json"
14+
"patch.txt"
1515
],
1616
"bin": {
1717
"coverage": "index.js"
@@ -36,6 +36,7 @@
3636
"c8": "^3.5.0",
3737
"foreground-child": "^1.5.6",
3838
"normalize-package-data": "^2.5.0",
39+
"slash": "^2.0.0",
3940
"which": "^1.3.1",
4041
"yargs-parser": "^13.0.0"
4142
},

0 commit comments

Comments
 (0)