Skip to content

Commit

Permalink
Merge pull request #17368 from Homebrew/fix/sbom/no_error_missing_val…
Browse files Browse the repository at this point in the history
…idation

fix: allow not validating SBOM
  • Loading branch information
MikeMcQuaid committed May 26, 2024
2 parents 9e2ff32 + 7be2632 commit 610b80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/sbom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def valid?(bottling: false)
unless require? "json_schemer"
error_message = "Need json_schemer to validate SBOM, run `brew install-bundler-gems --add-groups=bottle`!"
odie error_message if ENV["HOMEBREW_ENFORCE_SBOM"]
return false
return true
end

schema = SBOM.fetch_schema!
Expand Down

0 comments on commit 610b80e

Please sign in to comment.