We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ecf31 commit 4864f9dCopy full SHA for 4864f9d
test/cli/cli.test.js
@@ -36,7 +36,7 @@ runCLITest('CLI', () => {
36
'$1 Thu Jan 01 1970 <CLR=BOLD>00:00:00</CLR> GMT'
37
)
38
.replace(/webpack [^ )]+/g, 'webpack x.x.x')
39
- .replace(new RegExp(quotemeta(basePath), 'g'), 'Xdir')
+ .replace(new RegExp(`${quotemeta(basePath)}(/|\\)`, 'g'), '/Xdir')
40
.replace(/(Hash:) [a-z0-9]+/g, '$1 X')
41
.replace(/ dependencies:Xms/g, '')
42
.replace(/, additional resolving: X ms/g, '');
0 commit comments