Skip to content

Commit

Permalink
fix(CLI): force progress state to be single line only
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Dec 6, 2024
1 parent 6721dbf commit a0d1b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/anafero-cli/CLI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function ({ task, progress, error, subtasks }) {
return (
<Box flexDirection="column">
{progress
? <Box>
? <Box height={1}>
<Spinner label={`${task}: ${progress.state ?? 'working…'}`} />
{progress.total !== undefined && progress.done !== undefined
? <ProgressBar value={100 / progress.total * progress.done} />
Expand Down

0 comments on commit a0d1b8c

Please sign in to comment.