Fix panic when an element is missing in the checksums array
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-08-03 12:57:05 -07:00
parent f44a9509a2
commit 5d566fcf15
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ func genBuildEnv(info *distro.OSRelease, scriptdir string) []string {
func getSources(ctx context.Context, srcdir string, bv *BuildVars) error {
if len(bv.Sources) != len(bv.Checksums) {
log.Fatal("The checksums array must be the same length as sources")
log.Fatal("The checksums array must be the same length as sources").Send()
}
for i, src := range bv.Sources {