mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Merge pull request #10894 from igfoo/igfoo/psi
Kotlin: Refactor PSI handling
This commit is contained in:
@@ -32,6 +32,7 @@ with open('logs.csv', 'w', newline='') as f_out:
|
||||
j = json.loads(line)
|
||||
msg = j['message']
|
||||
msg = re.sub('(?<=Extraction for invocation TRAP file ).*/kt-db/trap/java/invocations/kotlin\..*\.trap', '<FILENAME>', msg)
|
||||
msg = re.sub('(?<=Kotlin version )[0-9.]+', '<VERSION>', msg)
|
||||
if msg.startswith('Peak memory: '):
|
||||
# Peak memory information varies from run to run, so just ignore it
|
||||
continue
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
| 1 | 1 | Test script | Log file | 1 |
|
||||
| 1 | 2 | CodeQL Kotlin extractor | INFO | Extraction started |
|
||||
| 1 | 3 | CodeQL Kotlin extractor | INFO | Extraction for invocation TRAP file <FILENAME> |
|
||||
| 1 | 4 | CodeQL Kotlin extractor | INFO | Extracting file test.kt |
|
||||
| 1 | 5 | CodeQL Kotlin extractor | INFO | Extraction completed |
|
||||
| 1 | 4 | CodeQL Kotlin extractor | INFO | Kotlin version <VERSION> |
|
||||
| 1 | 5 | CodeQL Kotlin extractor | INFO | Extracting file test.kt |
|
||||
| 1 | 6 | CodeQL Kotlin extractor | INFO | Extraction completed |
|
||||
|
||||
Reference in New Issue
Block a user