Skip to content

Commit 29ee5bd

Browse files
authored
Merge branch 'main' into gazelle-plugin-proto-naming-convention
2 parents 27aa02f + f02c9c7 commit 29ee5bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gazelle/manifest/manifest.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ func (f *File) VerifyIntegrity(manifestGeneratorHashFile, requirements io.Reader
7070
return false, fmt.Errorf("failed to verify integrity: %w", err)
7171
}
7272
valid := (f.Integrity == fmt.Sprintf("%x", integrityBytes))
73+
if (!valid) {
74+
fmt.Printf("WARN: Integrity hash was %v but expected %x\n", f.Integrity, integrityBytes)
75+
}
7376
return valid, nil
7477
}
7578

0 commit comments

Comments
 (0)