mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Make DiagnosticsReporting.qll a library
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/** Provides classes for working with errors and warnings recorded during extraction. */
|
||||
|
||||
import go
|
||||
|
||||
/** Gets the SARIF severity level that indicates an error. */
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
import go
|
||||
import DiagnosticsReporting
|
||||
import semmle.go.DiagnosticsReporting
|
||||
|
||||
from string msg, int sev
|
||||
where reportableDiagnostics(_, msg, sev)
|
||||
|
||||
Reference in New Issue
Block a user