mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-04-24 14:56:52 -05:00
22 lines
396 B
JavaScript
22 lines
396 B
JavaScript
import StageScheduleUpdater from "./updaters/StageScheduleUpdater.mjs";
|
|
|
|
function updaters() {
|
|
return [
|
|
new StageScheduleUpdater,
|
|
];
|
|
}
|
|
|
|
export async function updateAll() {
|
|
console.info('Running all updaters...');
|
|
|
|
for (let updater of updaters()) {
|
|
try {
|
|
await updater.update();
|
|
} catch (e) {
|
|
console.error(e);
|
|
}
|
|
}
|
|
|
|
console.info('Done running updaters');
|
|
}
|