ignore: run prettier

This commit is contained in:
Dax Raad
2025-06-26 22:30:44 -04:00
committed by Jay V
parent b61a841aa8
commit f3742ddbb8
31 changed files with 179 additions and 411 deletions

View File

@@ -19,7 +19,10 @@ export namespace Log {
await fs.mkdir(dir, { recursive: true })
cleanup(dir)
if (options.print) return
logpath = path.join(dir, new Date().toISOString().split(".")[0].replace(/:/g, "") + ".log")
logpath = path.join(
dir,
new Date().toISOString().split(".")[0].replace(/:/g, "") + ".log",
)
const logfile = Bun.file(logpath)
await fs.truncate(logpath).catch(() => {})
const writer = logfile.writer()