From c47660ae70bc79985c4209f2fe899be4f88d401d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 29 Aug 2024 16:04:41 +0100 Subject: [PATCH] KE2: Enable the internal-test-exception code --- java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt index dcfb32ab1f7..a0375cdc80e 100644 --- a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt +++ b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt @@ -154,8 +154,6 @@ OLD: KE1 tw.writeHasLocation(id, locId) tw.writeCupackage(id, pkgId) -/* -OLD: KE1 val exceptionOnFile = System.getenv("CODEQL_KOTLIN_INTERNAL_EXCEPTION_WHILE_EXTRACTING_FILE") if (exceptionOnFile != null) { @@ -164,6 +162,8 @@ OLD: KE1 } } +/* +OLD: KE1 file.declarations.forEach { extractDeclaration( it,