(doc: vscode.TextDocument)
| 58 | } |
| 59 | |
| 60 | function isTaskFile(doc: vscode.TextDocument): boolean { |
| 61 | if (doc.languageId !== "markdown") return false; |
| 62 | return isUnderTaskDir(doc.uri.fsPath); |
| 63 | } |
| 64 | |
| 65 | function validateDocument(doc: vscode.TextDocument): void { |
| 66 | if (!isTaskFile(doc)) { |
no test coverage detected