Skip to content

Commit 6d875d0

Browse files
committed
resolve files "linux style" in compiler caching test
1 parent 842b6cc commit 6d875d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/Compiler-caching.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ describe("Compiler (caching)", function() {
2626
const c = webpack(options);
2727
const files = {};
2828
c.outputFileSystem = {
29-
join: path.join.bind(path),
29+
join: function() {
30+
return [].join.call(arguments, "/").replace(/\/+/g, "/");
31+
},
3032
mkdirp: function(path, callback) {
3133
logs.mkdirp.push(path);
3234
callback();

0 commit comments

Comments
 (0)