Fix path for fileHash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2023-06-04 11:54:06 -06:00
parent f9a0a1df8f
commit 3e5935bbcf

View File

@ -74,7 +74,7 @@ func getLineageOSROMs(romDirectory string) ([]LineageOSROM, error) {
return nil
}
fileHash, err := hashFile(d.Name())
fileHash, err := hashFile(fmt.Sprintf("%s/%s", romDirectory, d.Name()))
if err != nil {
log.Printf("ingore zip file '%s', failed to get sha256 hash: %v", d.Name(), err)
}