From 176095a826b9ecbfb28efa1bc2ce3a0d4c22fe8b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 30 Jan 2024 17:15:13 +0000 Subject: [PATCH] utils/bottles: tweak syntax. --- Library/Homebrew/utils/bottles.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/utils/bottles.rb b/Library/Homebrew/utils/bottles.rb index cd2cdc0846..9396226729 100644 --- a/Library/Homebrew/utils/bottles.rb +++ b/Library/Homebrew/utils/bottles.rb @@ -118,9 +118,9 @@ module Utils else tab = Tab.for_keg(keg) - if tab.runtime_dependencies.nil? + tab.runtime_dependencies = begin f_runtime_deps = formula.runtime_dependencies(read_from_tab: false) - tab.runtime_dependencies = Tab.runtime_deps_hash(formula, f_runtime_deps) + Tab.runtime_deps_hash(formula, f_runtime_deps) end tab