Update scripts/check-docs-quality.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -142,6 +142,7 @@ async function ciCheck(prFilesPath) {
|
||||
const severityLevels = {
|
||||
error: 'error',
|
||||
warning: 'warning',
|
||||
suggestion: 'notice',
|
||||
};
|
||||
const level = severityLevels[alert.Severity] ?? 'notice';
|
||||
const col = alert.Span ? alert.Span[0] : 1;
|
||||
|
||||
Reference in New Issue
Block a user