Added dprint and formatted file to it

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-06 22:57:15 +02:00
parent 55e1cf7cdf
commit f389209e21
106 changed files with 398 additions and 395 deletions

View File

@@ -1,7 +1,7 @@
import { CronJob } from "cron"
import path from "path"
import fs from "fs"
import { ICron } from "interfaces"
import path from "path"
const __dirname = import.meta.dirname
export default async function loadCronEvents() {
@@ -12,8 +12,7 @@ export default async function loadCronEvents() {
const filePath = path.join(cronPath, file)
const { default: cron } = await import("file://" + filePath) as { default: ICron }
const time =
cron.time.seconds + " " +
const time = cron.time.seconds + " " +
cron.time.minutes + " " +
cron.time.hours + " " +
cron.time.dayOfMonth + " " +