mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Python: Modernizes queries
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
import python
|
||||
|
||||
from ExceptFlowNode ex, Object obj
|
||||
where ex.handledException_objectapi(obj, _, _)
|
||||
select ex.getLocation().getStartLine(), ex.toString(), obj.toString()
|
||||
from ExceptFlowNode ex, Value val
|
||||
where ex.handledException(val, _, _)
|
||||
select ex.getLocation().getStartLine(), ex.toString(), val.toString()
|
||||
Reference in New Issue
Block a user