Skip to content

Commit 70094d5

Browse files
author
chouchouji
committed
refactor(progress): remove unnecessary return statement in start function
1 parent 5077381 commit 70094d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/prompts/src/progress-bar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function progress({
5353

5454
const start = (msg = '') => {
5555
previousMessage = msg;
56-
return spin.start(drawProgress('initial', msg));
56+
spin.start(drawProgress('initial', msg));
5757
};
5858
const advance = (step = 1, msg?: string): void => {
5959
value = Math.min(max, step + value);

0 commit comments

Comments
 (0)