Fix path for fileHash
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2023-06-04 11:54:06 -06:00
parent f9a0a1df8f
commit 3e5935bbcf
1 changed files with 1 additions and 1 deletions

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)
}