Skip to content

Commit 3410d84

Browse files
committed
fix(performance): remove unneeded test code
1 parent 541ec7c commit 3410d84

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/Entrypoint.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Entrypoint.prototype.insertChunk = function(chunk, before) {
2323
chunk.entrypoints.push(this);
2424
};
2525

26-
Entrypoint.prototype.getFiles = function(filterPredicate) {
26+
Entrypoint.prototype.getFiles = function() {
2727
var files = [];
2828

2929
for(var chunkIdx = 0; chunkIdx < this.chunks.length; chunkIdx++) {
@@ -34,10 +34,6 @@ Entrypoint.prototype.getFiles = function(filterPredicate) {
3434
}
3535
}
3636

37-
if (typeof filterFn !== 'undefined') {
38-
return
39-
}
40-
4137
return files;
4238
}
4339

0 commit comments

Comments
 (0)