Skip to content

Commit

Permalink
silence go mod download from bom
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Aug 10, 2024
1 parent b2cb8b9 commit 7e5dd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function bom_pass {

# Download modules cache before running bom tool (it fails reading the output
# if it downloads the dependencies while running the check).
run go mod download
go mod download 2>/dev/null || return 2

# Internally license-bill-of-materials tends to modify go.sum
run cp go.sum go.sum.tmp || return 2
Expand Down

0 comments on commit 7e5dd65

Please sign in to comment.