ignore: run prettier

This commit is contained in:
Dax Raad
2025-06-26 22:30:44 -04:00
parent f8b78f08b4
commit 51bf193889
31 changed files with 179 additions and 411 deletions

View File

@@ -8,4 +8,3 @@ export function lazy<T>(fn: () => T) {
return value as T
}
}

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