Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
cpreston321 authored and github-actions[bot] committed Aug 28, 2023
1 parent 8a6315e commit 9d0e0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/prompts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ export const spinner = () => {
process.stdout.write(`${color.gray(S_BAR)}\n`);
let frameIndex = 0;
let dotsTimer = 0;
registerHooks()
registerHooks();
loop = setInterval(() => {
const frame = color.magenta(frames[frameIndex]);
const loadingDots = '.'.repeat(Math.floor(dotsTimer)).slice(0, 3);
Expand All @@ -695,7 +695,7 @@ export const spinner = () => {
process.stdout.write(cursor.move(-999, 0));
process.stdout.write(erase.down(1));
process.stdout.write(`${step} ${_message}\n`);
clearHooks()
clearHooks();
unblock();
};

Expand Down

0 comments on commit 9d0e0dc

Please sign in to comment.