Webpack build for branch master: 229eb2be2d

This commit is contained in:
Travis CI 2017-12-31 19:35:41 +00:00
parent 5b0382622d
commit f1820a5490
2 changed files with 11 additions and 10 deletions

View file

@ -8367,8 +8367,8 @@ class Collector extends EventEmitter {
*/ */
handleCollect(...args) { handleCollect(...args) {
const collect = this.collect(...args); const collect = this.collect(...args);
if (!collect || !this.filter(...args, this.collected)) return;
if (collect && this.filter(...args, this.collected)) {
this.collected.set(collect.key, collect.value); this.collected.set(collect.key, collect.value);
/** /**
@ -8378,6 +8378,7 @@ class Collector extends EventEmitter {
* @param {...*} args The arguments emitted by the listener * @param {...*} args The arguments emitted by the listener
*/ */
this.emit('collect', collect.value, ...args); this.emit('collect', collect.value, ...args);
}
this.checkEnd(); this.checkEnd();
} }

File diff suppressed because one or more lines are too long