Skip to content

Commit d5b5ef2

Browse files
authored
Revert "hotfix: Disable file extensions check during analysis (#159)" (#163)
This reverts commit 6c9c7f2. Enables back checking for file extensions
1 parent 3c62ea1 commit d5b5ef2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cmd/analyze.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -476,12 +476,7 @@ Supports API token, provider, and repository flags to automatically fetch tool c
476476
}
477477

478478
// Filter tools by language support
479-
// HOT FIX - disable for now, file extensions are not considered during the analysis
480-
// Need to support special `files` for languages like the ones defined here:
481-
// https://github.com/codacy/codacy-plugins-api/blob/ed456e612382c688b6146f70ca0df6b4dfdf0bf9/codacy-plugins-api/src/main/scala/com/codacy/plugins/api/languages/Language.scala#L102
482-
//
483-
484-
// toolsToRun = FilterToolsByLanguageSupport(toolsToRun, args)
479+
toolsToRun = FilterToolsByLanguageSupport(toolsToRun, args)
485480

486481
if len(toolsToRun) == 0 {
487482
log.Println("No tools support the specified file(s). Skipping analysis.")

0 commit comments

Comments
 (0)