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:
Fredrik Adelöw
2026-02-24 21:30:27 +01:00
parent b35f3595aa
commit 2690d416f8
+1
View File
@@ -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;