Browse Source

[convertor] Minor fix, send both requested and JSON formats

master
Muthu Kumar 6 years ago
parent
commit
93536ac04a
  1. 5
      src/gunner.js

5
src/gunner.js

@ -97,7 +97,10 @@ class Gunner {
emitter.emit('end', results);
return (options.request
? reporters[options.request].convert(results)
? {
[options.request]:
reporters[options.request].convert(results),
json: results }
: results);
});
}

Loading…
Cancel
Save