fix string formatting bug causing mangled id's
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
238dab70fe
commit
1f3209f55e
@ -61,7 +61,7 @@ func hashFile(filename string) (string, error) {
|
|||||||
return "", fmt.Errorf("failed to copy data from file to hash function: %v", err)
|
return "", fmt.Errorf("failed to copy data from file to hash function: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return string(h.Sum(nil)), nil
|
return fmt.Sprintf("%x", h.Sum(nil)), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// false if a file is not a LineageOS ROM .zip file
|
// false if a file is not a LineageOS ROM .zip file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user