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 99
1010# Find the extractor jar that is being used
1111trapDir = 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 )
1314if len (invocationTraps ) != 1 :
1415 raise Exception ('Expected to find 1 invocation TRAP, but found ' + str (invocationTraps ))
15- invocationTrap = trapDir + '/' + invocationTraps [0 ]
16+ invocationTrap = invocationTrapDir + '/' + invocationTraps [0 ]
1617with open (invocationTrap , 'r' ) as f :
1718 content = f .read ()
1819 m = re .search ('^// Using extractor: (.*)$' , content , flags = re .MULTILINE )
You can’t perform that action at this time.
0 commit comments