From e8a72d1e7f1abb032193677e2368f4e4e5c7a7de Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 9 May 2019 08:27:07 +0700 Subject: [PATCH] Fix lint errors --- bench/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bench/index.js b/bench/index.js index dcd81e8..1ecfbd0 100644 --- a/bench/index.js +++ b/bench/index.js @@ -26,14 +26,14 @@ options.forEach(options => { const vain = new Vain(options); - if (!isCI) { - vain.on('update', data => { - const duration = prettyMs(data.duration); - const {attempts} = data; - const speed = `${data.addressesPerSecond} addr/s`; - console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`); - }); - } + if (!isCI) { + vain.on('update', data => { + const duration = prettyMs(data.duration); + const {attempts} = data; + const speed = `${data.addressesPerSecond} addr/s`; + console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`); + }); + } vain.on('found', data => { console.log();