File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -158,17 +158,17 @@ def filter_runners(cask)
158158 def architectures ( cask :, os : :macos )
159159 architectures = [ ]
160160 [ :arm , :intel ] . each do |arch |
161- tag = Utils ::Bottles ::Tag . new ( system : os , arch : arch )
162- Homebrew ::SimulateSystem . with_tag ( tag ) do
163- cask . refresh
161+ tag = Utils ::Bottles ::Tag . new ( system : os , arch : arch )
162+ Homebrew ::SimulateSystem . with_tag ( tag ) do
163+ cask . refresh
164164
165- if cask . depends_on . arch . blank?
166- architectures = RUNNERS . keys . map { |r | r . fetch ( :arch ) . to_sym } . uniq . sort
167- next
168- end
169-
170- architectures = cask . depends_on . arch . map { |arch | arch [ :type ] }
165+ if cask . depends_on . arch . blank?
166+ architectures = RUNNERS . keys . map { |r | r . fetch ( :arch ) . to_sym } . uniq . sort
167+ next
171168 end
169+
170+ architectures = cask . depends_on . arch . map { |arch | arch [ :type ] }
171+ end
172172 rescue ::Cask ::CaskInvalidError
173173 # Can't read cask for this system-arch combination.
174174 end
You can’t perform that action at this time.
0 commit comments