Make DiagnosticsReporting.qll a library

This commit is contained in:
Owen Mansel-Chan
2023-02-01 14:59:23 +00:00
parent 34c6b24882
commit 947a9f12a1
2 changed files with 3 additions and 1 deletions

View File

@@ -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. */

View File

@@ -6,7 +6,7 @@
*/
import go
import DiagnosticsReporting
import semmle.go.DiagnosticsReporting
from string msg, int sev
where reportableDiagnostics(_, msg, sev)