Skip to content

Commit b4af893

Browse files
committed
fix broken steps
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent a7f1527 commit b4af893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const createCommands = ({ extensionPath, workspaceState }: CreateCommandP
7979
},
8080
[COMMANDS.RUN_TEST]: (stepId: string | null | undefined, onSuccess: () => void) => {
8181
// use stepId from client, or last set stepId
82-
const payload: Payload = { stepId: stepId ?? null }
82+
const payload: Payload = { stepId: stepId || currentStepId }
8383
testRunner(payload, onSuccess)
8484
},
8585
}

0 commit comments

Comments
 (0)