File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
java/ql/integration-tests/all-platforms/kotlin/kotlin_double_interception/code Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# Find the extractor jar that is being used
11
11
trapDir = os .environ ['CODEQL_EXTRACTOR_JAVA_TRAP_DIR' ]
12
- invocationTraps = glob .glob ('invocations/*.trap' , root_dir = trapDir )
12
+ invocationTrapDir = trapDir + '/invocations'
13
+ invocationTraps = os .listdir (invocationTrapDir )
13
14
if len (invocationTraps ) != 1 :
14
15
raise Exception ('Expected to find 1 invocation TRAP, but found ' + str (invocationTraps ))
15
- invocationTrap = trapDir + '/' + invocationTraps [0 ]
16
+ invocationTrap = invocationTrapDir + '/' + invocationTraps [0 ]
16
17
with open (invocationTrap , 'r' ) as f :
17
18
content = f .read ()
18
19
m = re .search ('^// Using extractor: (.*)$' , content , flags = re .MULTILINE )
You can’t perform that action at this time.
0 commit comments