mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
run checks on lowercase dir
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
badger "github.com/dgraph-io/badger/v2"
|
||||
@@ -21,7 +22,7 @@ func (n notFoundError) Error() string {
|
||||
}
|
||||
|
||||
func dirName(repo string) string {
|
||||
return fmt.Sprintf("_repos/src/%s", repo)
|
||||
return fmt.Sprintf("_repos/src/%s", strings.ToLower(repo))
|
||||
}
|
||||
|
||||
func getFromCache(db *badger.DB, repo string) (checksResp, error) {
|
||||
|
||||
Reference in New Issue
Block a user