Skip to content

Commit 23ef1c7

Browse files
committed
fix linter errors
1 parent c015568 commit 23ef1c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/rainbow.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function sleep(ms) {
2929

3030
async function animateString(str) {
3131
console.log();
32-
for (let i = 0; i < 360*5; i++) {
32+
for (let i = 0; i < 360 * 5; i++) {
3333
console.log('\x1b[1F\x1b[G ', rainbow(str, i));
34-
await sleep(2);
34+
await sleep(50); // eslint-disable-line no-await-in-loop
3535
}
3636
}
3737

0 commit comments

Comments
 (0)