File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { assertAnswerCorrect } from './assertAnswerCorrect.js';
22import { assertAnswerNotPreviouslySubmitted } from './assertAnswerNotPreviouslySubmitted.js' ;
33import { assertConfigValue } from './assertConfigValue.js' ;
44import { assertInitialized } from './assertInitialized.js' ;
5+ import { assertPuzzleHasLevel } from './assertPuzzleHasLevel.js' ;
56import { assertPuzzleLevelMet } from './assertPuzzleLevelMet.js' ;
67import { assertPuzzleUnlocked } from './assertPuzzleUnlocked.js' ;
78import { assertPuzzleUnsolved } from './assertPuzzleUnsolved.js' ;
@@ -37,6 +38,7 @@ export {
3738 assertInitialized ,
3839 assertPuzzleUnlocked ,
3940 assertPuzzleUnsolved ,
41+ assertPuzzleHasLevel ,
4042 assertPuzzleLevelMet ,
4143 assertUserConfirmation ,
4244 executeUserSolution ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { dayArgument, levelArgument } from './arguments.js';
77 * The common actions between the 'solve' and 'autosolve' commands
88 */
99const solveActions = [
10+ actions . assertPuzzleHasLevel ,
1011 actions . outputPuzzleLink ,
1112 actions . assertPuzzleUnlocked ,
1213 actions . assertPuzzleLevelMet ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { dayArgument, levelArgument } from './arguments.js';
77 * The common actions between the 'submit' and 'autosubmit' commands
88 */
99const submitActions = [
10+ actions . assertPuzzleHasLevel ,
1011 actions . outputPuzzleLink ,
1112 actions . assertPuzzleUnlocked ,
1213 actions . assertPuzzleLevelMet ,
You can’t perform that action at this time.
0 commit comments