Remove unnecessary console.log statement
This commit is contained in:
@@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user