Skip to content

Commit 72a9e11

Browse files
committed
fix conductor's eval take
1 parent 8bbe9af commit 72a9e11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commons/sagas/WorkspaceSaga/helpers/evalCode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ export function* evalCodeConductorSaga(
487487
yield call([hostPlugin, 'startEvaluator'], entrypointFilePath);
488488
while (true) {
489489
const { stop } = yield race({
490-
repl: take(actions.evalRepl),
491-
stop: take(actions.beginInterruptExecution)
490+
repl: take(actions.evalRepl.type),
491+
stop: take(actions.beginInterruptExecution.type)
492492
});
493493
if (stop) break;
494494
const code: string = yield select(

0 commit comments

Comments
 (0)