Enable more biome lints and fix things

This commit is contained in:
Mario Zechner 2025-12-21 22:56:20 +01:00
parent 9c18439c4d
commit d5fd685901
57 changed files with 151 additions and 199 deletions

View file

@ -220,7 +220,7 @@ export class SlackBot {
logToFile(channel: string, entry: object): void {
const dir = join(this.workingDir, channel);
if (!existsSync(dir)) mkdirSync(dir, { recursive: true });
appendFileSync(join(dir, "log.jsonl"), JSON.stringify(entry) + "\n");
appendFileSync(join(dir, "log.jsonl"), `${JSON.stringify(entry)}\n`);
}
/**