Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions cmd/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down