Skip to content

Commit 0de4e3f

Browse files
author
Matthew Forrester
committed
fix: MODE.CONTINUOUS_AND_EXIT didn't output to STDOUT
1 parent 9a685f7 commit 0de4e3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/discover-types/index.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

examples/discover-types/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async function run(wvLinewise: WvLinewise) {
279279
cont = isContinuous(state.continuousMode) && (!state.finished);
280280
}
281281
if ((state.continuousMode === MODE.CONTINUOUS_AND_EXIT) && (state.finished)) {
282-
wvLinewise.exit(0)
282+
state.events.exit();
283283
}
284284
};
285285

0 commit comments

Comments
 (0)