Remove validation errors for missing .nss files

This commit is contained in:
2026-04-02 20:15:01 +02:00
parent 77b21081d7
commit af4d23ea48
4 changed files with 193 additions and 9 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ func validateReferences(report *Report, document loadedDocument, resources, scri
return
}
if _, exists := scripts[strings.ToLower(value)]; !exists {
report.add(document.Path, fmt.Sprintf("missing script reference %q from field %q", value, field.Label), SeverityError)
report.add(document.Path, fmt.Sprintf("missing script reference %q from field %q", value, field.Label), SeverityWarning)
}
case field.Label == "Conversation":
key := strings.ToLower(value) + ".dlg"