[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

refactor(progress): remove unnecessary return statement in start func… (#387)

Co-authored-by: chouchouji <jibinbin@dcloud.io>

authored by

chouchouji
chouchouji
and committed by
GitHub
(Sep 5, 2025, 10:44 AM +0100) 09e596c6 a66efe0a

+6 -1
+5
.changeset/three-ideas-refuse.md
··· 1 + --- 2 + "@clack/prompts": patch 3 + --- 4 + 5 + refactor(progress): remove unnecessary return statement in start function
+1 -1
packages/prompts/src/progress-bar.ts
··· 53 53 54 54 const start = (msg = '') => { 55 55 previousMessage = msg; 56 - return spin.start(drawProgress('initial', msg)); 56 + spin.start(drawProgress('initial', msg)); 57 57 }; 58 58 const advance = (step = 1, msg?: string): void => { 59 59 value = Math.min(max, step + value);