Extract explicit configuration loading phases

This commit is contained in:
2026-09-07 01:13:20 +00:00
parent 75a5829132
commit 6a1c7df4be
8 changed files with 342 additions and 256 deletions

View File

@@ -237,3 +237,12 @@ func escapeControls(value string) string {
}
return b.String()
}
func hasErrors(diagnostics []Diagnostic) bool {
for _, diagnostic := range diagnostics {
if diagnostic.Severity == SeverityError {
return true
}
}
return false
}