There was an error while loading. Please reload this page.
1 parent d0333e4 commit 39977bdCopy full SHA for 39977bd
tools/benchpress/src/benchmark.es6
@@ -22,7 +22,9 @@ module.exports = {
22
23
function runBenchmark(config, workCallback) {
24
var sampleId = nodeUuid.v1();
25
- var reporters = config.reporters.map(function(Class) {
+ var reporters = config.reporters.filter(function(Class) {
26
+ return !!Class;
27
+ }).map(function(Class) {
28
return new Class(sampleId, config);
29
});
30
var scriptMetricIndex = -1;
0 commit comments