fix linter errors
This commit is contained in:
parent
c0155688cf
commit
23ef1c7ca2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue