Skip to content

Commit

Permalink
Fix minor bug in fixGames script
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Dec 29, 2024
1 parent a14d68a commit fd1986c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/src/fixGames.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export async function fixGames() {
// eslint-disable-next-line no-constant-condition
if (false) {
await queue.onEmpty();
queue.add(getDatabase().ref(`games/${gameId}/enableHint`).set(false));
queue.add(() =>
getDatabase().ref(`games/${gameId}/enableHint`).set(false),
);
}
}
}
Expand Down

0 comments on commit fd1986c

Please sign in to comment.