From d35d7458bea64e50f2f17371a182e7c79fe010f0 Mon Sep 17 00:00:00 2001 From: Pandurang Patil Date: Mon, 19 Feb 2024 14:33:02 +0530 Subject: [PATCH] Excluding .kts build file while generating the CPG (#402) Excluding .kts build file while generating the CPG, as its resulting into some errors in that specific file and in turn was exiting out of the AST creation pass. This exclusion across will help ignoring those build files which are not required to be processed for CPG creation. --- config/exclusions/kotlin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/exclusions/kotlin.yaml b/config/exclusions/kotlin.yaml index d646ee2d..81ec28c9 100644 --- a/config/exclusions/kotlin.yaml +++ b/config/exclusions/kotlin.yaml @@ -2,4 +2,4 @@ exclusions: - id: Exclusions.Template name: Exclude template file patterns: - - "(?i)(.*template.kt|.*template(s)?/.*)" \ No newline at end of file + - "(?i)(.*.kts|.*template.kt|.*template(s)?/.*)"