File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/commons/sagas/WorkspaceSaga/helpers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { notifyStoriesEvaluated } from 'src/features/stories/StoriesActions';
13
13
import { EVAL_STORY } from 'src/features/stories/StoriesTypes' ;
14
14
15
15
import { EventType } from '../../../../features/achievement/AchievementTypes' ;
16
- import { OverallState } from '../../../application/ApplicationTypes' ;
16
+ import { isSchemeLanguage , OverallState } from '../../../application/ApplicationTypes' ;
17
17
import {
18
18
BEGIN_DEBUG_PAUSE ,
19
19
BEGIN_INTERRUPT_EXECUTION ,
@@ -94,7 +94,8 @@ export function* evalCode(
94
94
. currentStep
95
95
)
96
96
: - 1 ;
97
- const cseActiveAndCorrectChapter = context . chapter >= 3 && cseIsActive ;
97
+ const cseActiveAndCorrectChapter =
98
+ ( isSchemeLanguage ( context . chapter ) || context . chapter >= 3 ) && cseIsActive ;
98
99
if ( cseActiveAndCorrectChapter ) {
99
100
context . executionMethod = 'cse-machine' ;
100
101
}
You can’t perform that action at this time.
0 commit comments