Skip to content

Commit 6eb589f

Browse files
Merge pull request #16952 from Homebrew/nil-runtime-deps
2 parents c523626 + f481f1f commit 6eb589f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Library/Homebrew/formula_installer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ def fetch_bottle_tab
12091209
@fetch_bottle_tab ||= begin
12101210
formula.fetch_bottle_tab
12111211
@bottle_tab_runtime_dependencies = formula.bottle_tab_attributes
1212-
.fetch("runtime_dependencies", [])
1212+
.fetch("runtime_dependencies", []).then { |deps| deps || [] }
12131213
.each_with_object({}) { |dep, h| h[dep["full_name"]] = dep }
12141214
.freeze
12151215
true
@@ -1262,7 +1262,7 @@ def pour
12621262
tab = Utils::Bottles.load_tab(formula)
12631263

12641264
# fill in missing/outdated parts of the tab
1265-
# keep in sync with Tab#to_bottle_json
1265+
# keep in sync with Tab#to_bottle_hash
12661266
tab.used_options = []
12671267
tab.unused_options = []
12681268
tab.built_as_bottle = true

0 commit comments

Comments
 (0)