Skip to content

Commit e3c5808

Browse files
committed
No point enabling stop if it's the first item in the list
Signed-off-by: worksofliam <[email protected]>
1 parent 6c82261 commit e3c5808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/results/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async function runMultipleHandler(mode: `all`|`selected`|`from`) {
185185
if (group.statements.length >= 1) {
186186
const statement = group.statements[0];
187187

188-
if (isStop(statement)) {
188+
if (isStop(statement) && i > 0) {
189189
break;
190190
}
191191

0 commit comments

Comments
 (0)