Skip to content

Commit 13cb0ab

Browse files
committed
Fix CodeQL warning
1 parent 2ecdfd1 commit 13cb0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/ExtractEndpointDataTraining.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ query predicate reformattedTrainingEndpoints(
195195
// Don't surface endpoint filters as notASinkReasons, because they were previously not surfaced.
196196
// TODO: Experiment with surfacing these to the modeling code by removing the following line (and then make
197197
// EndpointFilterCharacteristic private).
198-
not exists(EndpointFilterCharacteristic filterCharacteristic | value = filterCharacteristic) and
198+
not value instanceof EndpointFilterCharacteristic and
199199
valueType = "string"
200200
)
201201
)

0 commit comments

Comments
 (0)