Remove unnecessary console.log statement

This commit is contained in:
2025-03-05 14:21:15 +01:00
parent c321758101
commit 677e68a374

View File

@@ -14,10 +14,7 @@ export function dumpDatabase(file: string, tasks: Task[]) {
* Applies the mapper for each task from list, groups them by time and serializes into JSON format. * Applies the mapper for each task from list, groups them by time and serializes into JSON format.
*/ */
export function serializeDatabase(tasks: Task[]): string { export function serializeDatabase(tasks: Task[]): string {
return JSON.stringify(createDatabase(tasks));
const x = JSON.stringify(createDatabase(tasks));
console.log(x);
return x;
} }
/** /**