This commit is contained in:
parent
f9a0a1df8f
commit
3e5935bbcf
2
main.go
2
main.go
@ -74,7 +74,7 @@ func getLineageOSROMs(romDirectory string) ([]LineageOSROM, error) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
fileHash, err := hashFile(d.Name())
|
fileHash, err := hashFile(fmt.Sprintf("%s/%s", romDirectory, d.Name()))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("ingore zip file '%s', failed to get sha256 hash: %v", d.Name(), err)
|
log.Printf("ingore zip file '%s', failed to get sha256 hash: %v", d.Name(), err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user