Skip to content

Commit

Permalink
add linter ignore for dependency SHA256
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Wigmore authored and paketo-bot committed Feb 13, 2023
1 parent 803bd51 commit edfb4a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func Build(
cachedChecksum, ok := bundlerLayer.Metadata[DepKey].(string)

dependencyChecksum := dependency.Checksum
//nolint Ignore SA1019, informed usage of deprecated field
if dependency.SHA256 != "" {
dependencyChecksum = dependency.SHA256
}
Expand Down

0 comments on commit edfb4a8

Please sign in to comment.