Include electron-log in achievements file

When the timer throws an exception, it tried to log the error but log
was not defined.
This commit is contained in:
Martin Fournier 2022-01-05 14:17:54 -05:00
parent 7107dd682c
commit 674d8a3f06

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const greenworks = require("./greenworks");
const log = require("electron-log");
function enableAchievementsInterval(window) {
// This is backward but the game fills in an array called `document.achievements` and we retrieve it from