Skip to content

Commit b402f5d

Browse files
fix: lint errors
1 parent 9d82879 commit b402f5d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/api/train/train.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const getTrainingGame = async () => {
5454

5555
// Build game tree from moves
5656
if (moves.length === 0) {
57-
throw new Error("Moves array is empty. Cannot initialize GameTree.");
57+
throw new Error('Moves array is empty. Cannot initialize GameTree.')
5858
}
5959
const gameTree = new GameTree(moves[0].board)
6060
let currentNode = gameTree.getRoot()

src/api/turing/turing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const getTuringGame = async () => {
3939

4040
// Build game tree from moves
4141
if (moves.length === 0) {
42-
throw new Error('No moves available to initialize the game tree');
42+
throw new Error('No moves available to initialize the game tree')
4343
}
4444
const gameTree = new GameTree(moves[0].board)
4545
let currentNode = gameTree.getRoot()

0 commit comments

Comments
 (0)