Skip to content

Commit 2afe1ed

Browse files
authored
Merge pull request webpack#4173 from webpack/coverage/ignore
Ignore sorting because it's non-deterministic
2 parents 1677815 + 093245f commit 2afe1ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/CaseSensitiveModulesWarning.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ module.exports = class CaseSensitiveModulesWarning extends Error {
2222
return modules.slice().sort((a, b) => {
2323
a = a.identifier();
2424
b = b.identifier();
25+
/* istanbul ignore next */
2526
if(a < b) return -1;
27+
/* istanbul ignore next */
2628
if(a > b) return 1;
29+
/* istanbul ignore next */
2730
return 0;
2831
});
2932
}

0 commit comments

Comments
 (0)