Skip to content

Commit 15137d7

Browse files
test: fix
1 parent c75de92 commit 15137d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/test-bin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function normalizeStderr(stderr, options = {}) {
3838

3939
normalizedStderr = normalizedStderr
4040
.replace(/\\/g, '/')
41-
.replace(new RegExp(process.cwd(), 'g'), '<cwd>');
41+
.replace(new RegExp(process.cwd().replace(/\\/g, '/'), 'g'), '<cwd>');
4242

4343
const networkIPv4 = internalIp.v4.sync();
4444

0 commit comments

Comments
 (0)