(frontmatter: Record<string, unknown>)
| 465 | } |
| 466 | |
| 467 | private isCompletedFrontmatter(frontmatter: Record<string, unknown>): boolean { |
| 468 | const statusField = this.fieldMapper?.toUserField("status") || "status"; |
| 469 | const status = frontmatter[statusField]; |
| 470 | const statusText = this.stringifyStatusValue(status); |
| 471 | return Boolean(statusText && this.statusManager.isCompletedStatus(statusText)); |
| 472 | } |
| 473 | |
| 474 | private stringifyStatusValue(status: unknown): string | null { |
| 475 | if ( |
no test coverage detected