Skip to content

Commit 917cf7b

Browse files
committed
Go: Update provenance validation.
1 parent 37abdc7 commit 917cf7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module ModelValidation {
221221
not ext.regexpMatch("|Annotated") and
222222
result = "Unrecognized extra API graph element \"" + ext + "\" in " + pred + " model."
223223
or
224-
not provenance = ["manual", "generated"] and
224+
invalidProvenance(provenance) and
225225
result = "Unrecognized provenance description \"" + provenance + "\" in " + pred + " model."
226226
)
227227
}

0 commit comments

Comments
 (0)