Skip to content

Commit 373f36b

Browse files
authored
Merge pull request webpack#5975 from webpack/test/line-feed
fix testcase for windows-style paths
2 parents 973253b + f823360 commit 373f36b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/configCases/context-replacement/d/queryloader.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = function(content) {
22
return "module.exports = " + JSON.stringify({
33
resourceQuery: this.resourceQuery,
44
query: this.query,
5-
prev: content
5+
prev: content.replace(/\r\n?/g, "\n")
66
});
77
};

0 commit comments

Comments
 (0)