File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ def run_process(options)
6565 cleanup_necessary = !options . interactive
6666
6767 result = if options . interactive
68- for_upgrade = to_upgrade_interactively outdated , options , state_info
69- upgrade for_upgrade , options
70- else
71- upgrade outdated , options
72- end
68+ for_upgrade = to_upgrade_interactively outdated , options , state_info
69+ upgrade for_upgrade , options
70+ else
71+ upgrade outdated , options
72+ end
7373
7474 cleanup ( options , cleanup_necessary )
7575
@@ -195,12 +195,6 @@ def install(apps, options)
195195 brew_ids = brew_apps . map do |app |
196196 app [ :tap ] . nil? ? app [ :token ] : "#{ app [ :tap ] } /#{ app [ :token ] } "
197197 end
198- colored_tokens = brew_apps . map { |app | Formatter . colorize ( app [ :token ] , "green" ) }
199- tokens_list = if colored_tokens . length > 1
200- "#{ colored_tokens [ 0 ..-2 ] . join ( ", " ) } and #{ colored_tokens [ -1 ] } "
201- else
202- colored_tokens . first
203- end
204198 fetch_cmd = "brew fetch --cask #{ brew_ids . join ( " " ) } #{ verbose_flag } "
205199 system fetch_cmd . to_s
206200
You can’t perform that action at this time.
0 commit comments