Skip to content

Commit 176cf0e

Browse files
feat: show timer message when add timer number
1 parent b8f66e7 commit 176cf0e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/commands.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ export function commandFactory(statusBarItems: MobStatusBarItem[]) {
4747
try {
4848
await asyncExec(command, expectedMessage);
4949

50-
const timerCountdown = new TimerCountdown();
51-
timerCountdown.startTimer(Number(timeInput));
52-
50+
if (timer > 0) {
51+
const timerCountdown = new TimerCountdown();
52+
timerCountdown.startTimer(Number(timeInput));
53+
}
5354
} finally {
5455
startItem?.stopLoading();
5556
}

0 commit comments

Comments
 (0)