Fix CodeQL warning

This commit is contained in:
tiferet
2022-11-15 17:32:30 -08:00
parent 2ecdfd1ff6
commit 13cb0ab554

View File

@@ -195,7 +195,7 @@ query predicate reformattedTrainingEndpoints(
// Don't surface endpoint filters as notASinkReasons, because they were previously not surfaced.
// TODO: Experiment with surfacing these to the modeling code by removing the following line (and then make
// EndpointFilterCharacteristic private).
not exists(EndpointFilterCharacteristic filterCharacteristic | value = filterCharacteristic) and
not value instanceof EndpointFilterCharacteristic and
valueType = "string"
)
)