diff --git a/main.ts b/main.ts index adc4ad9..f548526 100644 --- a/main.ts +++ b/main.ts @@ -11,10 +11,8 @@ const solvables: Solvable[] = []; await import('./solutions/' + solution.name) } - if (import.meta.main) { - // only solve the latest day - solvables.toReversed()[0].part1().then(solvable => solvable.part2()) - } + // only solve the latest day + solvables.toReversed()[0].part1().then(solvable => solvable.part2()) })()