diff --git a/packages/tm-core/src/storage/file-storage/file-storage.ts b/packages/tm-core/src/storage/file-storage/file-storage.ts index 1fdecb7c..06e93144 100644 --- a/packages/tm-core/src/storage/file-storage/file-storage.ts +++ b/packages/tm-core/src/storage/file-storage/file-storage.ts @@ -391,7 +391,7 @@ export class FileStorage implements IStorage { const subs = parentTask.subtasks; let parentNewStatus = parentTask.status; if (subs.length > 0) { - const norm = (s: any) => (s.status || 'pending'); + const norm = (s: any) => s.status || 'pending'; const allDone = subs.every((s) => norm(s) === 'done'); const anyInProgress = subs.some((s) => norm(s) === 'in-progress'); const anyDone = subs.some((s) => norm(s) === 'done');