Fix project language detection
This commit is contained in:
parent
156ddc2009
commit
e1545d114b
@ -217,6 +217,7 @@ func (c *Client) GetProjectLanguage(project *gitlab.Project) *string {
|
||||
var mostUsed float32
|
||||
for name, p := range *l {
|
||||
if p > mostUsed {
|
||||
mostUsed = p
|
||||
mainLang = &name
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user