Skip to content

Commit

Permalink
feat: cleanup call
Browse files Browse the repository at this point in the history
Co-authored-by: Mike McQuaid <[email protected]>
  • Loading branch information
SMillerDev and MikeMcQuaid committed May 3, 2024
1 parent 881aa13 commit 1360d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/bottle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def bottle_formula(formula)
tab.write
end

sbom = SBOM.create(formula, nil, nil)
sbom = SBOM.create(formula)
sbom.write

keg.consistent_reproducible_symlink_permissions!
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/sbom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SBOM

# Instantiates a {SBOM} for a new installation of a formula.
sig { params(formula: Formula, compiler: T.nilable(String), stdlib: T.nilable(String)).returns(T.attached_class) }
def self.create(formula, compiler = nil, stdlib = nil)
def self.create(formula, compiler: nil, stdlib: nil)
build = formula.build
runtime_deps = formula.runtime_dependencies(undeclared: false)
attributes = {
Expand Down

0 comments on commit 1360d16

Please sign in to comment.