From a36d97ee4fc514d56535f97a8c38682464409d89 Mon Sep 17 00:00:00 2001 From: Joao Machado <13315199+machadoit@users.noreply.github.com> Date: Wed, 9 Jul 2025 13:36:11 +0200 Subject: [PATCH] Revert "hotfix: Disable file extensions check during analysis (#159)" This reverts commit 6c9c7f20d80e58f5d5b1bd7f1236dfff7a67abab. --- cmd/analyze.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/analyze.go b/cmd/analyze.go index 8af70786..dfc256a0 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -476,12 +476,7 @@ Supports API token, provider, and repository flags to automatically fetch tool c } // Filter tools by language support - // HOT FIX - disable for now, file extensions are not considered during the analysis - // Need to support special `files` for languages like the ones defined here: - // https://github.com/codacy/codacy-plugins-api/blob/ed456e612382c688b6146f70ca0df6b4dfdf0bf9/codacy-plugins-api/src/main/scala/com/codacy/plugins/api/languages/Language.scala#L102 - // - - // toolsToRun = FilterToolsByLanguageSupport(toolsToRun, args) + toolsToRun = FilterToolsByLanguageSupport(toolsToRun, args) if len(toolsToRun) == 0 { log.Println("No tools support the specified file(s). Skipping analysis.")