Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Jun 29, 2017
1 parent c015568 commit 23ef1c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rainbow.js
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 23ef1c7

Please sign in to comment.