include linkcheckmd as source in any Diagnostic

Fixes #60

Previously a user had no idea that the diagnostics reported
by this extension in the Problems tab (or in a hover state)
where from linkcheckmd. This resolves that issue.
This commit is contained in:
Michael Welch 2022-11-10 11:13:03 -06:00
Родитель 9b1ebb3414
Коммит 9cce3fd84a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 8A4FEE59A30C1B64
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -241,6 +241,7 @@ function createDiagnostic(severity: DiagnosticSeverity, markdownLink, lineText:
// Create the diagnostic object
let diag = new Diagnostic(range, message, severity);
diag.code = code;
diag.source = "linkcheckmd";
// Return the diagnostic
return diag;
}