repochecker: Consider LFS errors as warnings
This commit is contained in:
parent
969c61017f
commit
63423c9c69
1 changed files with 0 additions and 2 deletions
|
@ -254,7 +254,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bfile := searchBinaryInGit(path.Join(sync.GlobalImporter.(sync.LocalImporter).Base, p))
|
bfile := searchBinaryInGit(path.Join(sync.GlobalImporter.(sync.LocalImporter).Base, p))
|
||||||
nberr += len(bfile)
|
|
||||||
if len(bfile) > 0 {
|
if len(bfile) > 0 {
|
||||||
fmt.Printf("\n")
|
fmt.Printf("\n")
|
||||||
log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:")
|
log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:")
|
||||||
|
@ -279,7 +278,6 @@ func main() {
|
||||||
log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:")
|
log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:")
|
||||||
for _, f := range bfile {
|
for _, f := range bfile {
|
||||||
if strings.HasPrefix(f, p) {
|
if strings.HasPrefix(f, p) {
|
||||||
nberr += 1
|
|
||||||
log.Println(" -", f)
|
log.Println(" -", f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue