From 23ef1c7ca2f64f905f0c17edc1b78ebf9def82cd Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Thu, 29 Jun 2017 16:05:28 -0700 Subject: [PATCH] fix linter errors --- examples/rainbow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rainbow.js b/examples/rainbow.js index c4ed456..3da1e11 100644 --- a/examples/rainbow.js +++ b/examples/rainbow.js @@ -29,9 +29,9 @@ function sleep(ms) { async function animateString(str) { console.log(); - for (let i = 0; i < 360*5; i++) { + for (let i = 0; i < 360 * 5; i++) { console.log('\x1b[1F\x1b[G ', rainbow(str, i)); - await sleep(2); + await sleep(50); // eslint-disable-line no-await-in-loop } }