fix linter errors

This commit is contained in:
Josh Junon 2017-06-29 16:05:28 -07:00
parent c0155688cf
commit 23ef1c7ca2

View file

@ -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
}
}