unnecessary if block

This commit is contained in:
mtrx 2024-12-08 00:41:59 +01:00
parent e51186bf8d
commit 919bdde203

View file

@ -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())
}
})()