We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8ff89 commit 8071d99Copy full SHA for 8071d99
pkg/server/diagnostics.go
@@ -76,16 +76,6 @@ func (s *server) diagnosticsLoop() {
76
diags = append(diags, <-lintChannel...)
77
}
78
79
- if len(diags) == 0 {
80
- diags = []protocol.Diagnostic{
81
- {
82
- Source: "jsonnet",
83
- Message: "No errors or warnings",
84
- Severity: protocol.SeverityInformation,
85
- },
86
- }
87
88
-
89
err = s.client.PublishDiagnostics(context.Background(), &protocol.PublishDiagnosticsParams{
90
URI: uri,
91
Diagnostics: diags,
0 commit comments