Skip to content

Commit

Permalink
Merge pull request #106 from drifkin/master
Browse files Browse the repository at this point in the history
Fix `--latency` option
  • Loading branch information
mcollina authored Apr 14, 2017
2 parents df2f8aa + 2ab9cff commit fa71bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/progressTracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function track (instance, opts) {
logToStream(out)

if (opts.renderLatencyTable) {
const latency = table.default([
const latency = table([
asColor(chalk.cyan, ['Percentile', 'Latency (ms)'])
].concat(percentiles.map((perc) => {
const key = ('p' + perc).replace('.', '')
Expand All @@ -100,7 +100,7 @@ function track (instance, opts) {
result.latency[key]
]
})), {
border: table.getBorderCharacters('void'),
border: getBorderCharacters('void'),
columnDefault: {
paddingLeft: 0,
paddingRight: 6
Expand Down

0 comments on commit fa71bcc

Please sign in to comment.