No need to create an array to call concat
This commit is contained in:
parent
12cbddf7e0
commit
1c02cb5aea
@ -99,7 +99,7 @@ class Demux extends Duplex {
|
||||
}
|
||||
|
||||
public _flush() {
|
||||
const pipelines: DemuxStreams[] = [].concat.apply(
|
||||
const pipelines: DemuxStreams[] = Array.prototype.concat.apply(
|
||||
[],
|
||||
Object.values(this.streamsByKey),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user