Skip to content

Commit 3aa5761

Browse files
committed
Bring back code wrongly removed during the feature dev CF-1742
1 parent c91d49b commit 3aa5761

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/analyze.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ func IsToolSupportedForFile(toolName string, filePath string, langConfig *Langua
9999
}
100100

101101
fileExt := GetFileExtension(filePath)
102+
103+
if fileExt == "" {
104+
// If file has no extension, assume tool is supported
105+
return true
106+
}
107+
102108
fileName := filepath.Base(filePath)
103109

104110
for _, tool := range langConfig.Tools {

0 commit comments

Comments
 (0)