Compare commits
No commits in common. "736fe4fcd6f7ab894a2eac136e41506fbbfc9357" and "6f6596c13f729a90c7670aeb689a1e6ddc20d1cb" have entirely different histories.
736fe4fcd6
...
6f6596c13f
@ -50,15 +50,6 @@ Examples:
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
lang := langObj.Name
|
lang := langObj.Name
|
||||||
if lang == "C/C++" {
|
|
||||||
ext := strings.ToLower(filepath.Ext(filePath))
|
|
||||||
switch ext {
|
|
||||||
case ".cpp", ".cc", ".cxx":
|
|
||||||
lang = "C++"
|
|
||||||
default:
|
|
||||||
lang = "C"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if !supportedLangs[lang] {
|
if !supportedLangs[lang] {
|
||||||
color.Yellow("Unsupported lang '%s' for %s (supported: Go/Python/C/C++)", lang, filePath)
|
color.Yellow("Unsupported lang '%s' for %s (supported: Go/Python/C/C++)", lang, filePath)
|
||||||
allSuccess = false
|
allSuccess = false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user