Before

…lines 1–200 unchanged (200 lines)
201 verbose: args.verbose?
202 )
203 end
204
205 if casks.any?
206 Install.ask_casks casks if args.ask?
207 Cask::Reinstall.reinstall_casks(
208 *casks,
209 binaries: args.binaries?,
210 verbose: args.verbose?,
211 force: args.force?,
212 require_sha: args.require_sha?,
213 skip_cask_deps: args.skip_cask_deps?,
214 quarantine: args.quarantine?,
215 zap: args.zap?,
216 )
217 end
218
219 Cleanup.periodic_clean!
220
221 Homebrew.messages.display_messages(display_times: args.display_times?)
222 end
…lines 223–226 unchanged (4 lines)

After

…lines 1–200 unchanged (200 lines)
201 verbose: args.verbose?
202 )
203 end
204
205 if casks.any?
206 Install.ask_casks casks if args.ask?
207 begin
208 Cask::Reinstall.reinstall_casks(
209 *casks,
210 binaries: args.binaries?,
211 verbose: args.verbose?,
212 force: args.force?,
213 require_sha: args.require_sha?,
214 skip_cask_deps: args.skip_cask_deps?,
215 quarantine: args.quarantine?,
216 zap: args.zap?,
217 )
218 rescue => e
219 ofail e
220 end
221 end
222
223 Cleanup.periodic_clean!
224
225 Homebrew.messages.display_messages(display_times: args.display_times?)
226 end
…lines 227–230 unchanged (4 lines)

Before

program
comment "# typed: strict"
comment "# frozen_string_literal: true"
call
identifier "require"
argument_list
string
" "\""
string_content "abstract_command"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "formula_installer"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "development_tools"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "messages"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "install"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "reinstall"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cleanup"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/utils"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/macos"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/reinstall"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "upgrade"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "api"
" "\""
module
module "module"
constant "Homebrew"
body_statement
module
module "module"
constant "Cmd"
body_statement
class
class "class"
constant "Reinstall"
superclass
< "<"
constant "AbstractCommand"
body_statement
call (+623 nodes collapsed)
call
identifier "sig"
block
{ "{"
block_body
call
identifier "override"
. "."
identifier "void"
} "}"
method
def "def"
identifier "run"
body_statement
assignment
left_assignment_list
identifier "formulae"
, ","
identifier "casks"
= "="
call
call
identifier "args"
. "."
identifier "named"
. "."
identifier "to_resolved_formulae_to_casks"
if (+72 nodes collapsed)
if_modifier (+23 nodes collapsed)
unless (+465 nodes collapsed)
if
if "if"
call
identifier "casks"
. "."
identifier "any?"
then
if_modifier
call
constant "Install"
. "."
identifier "ask_casks"
argument_list
identifier "casks"
if "if"
call
identifier "args"
. "."
identifier "ask?"
call (+70 nodes collapsed)
end "end"
call
constant "Cleanup"
. "."
identifier "periodic_clean!"
call
call
constant "Homebrew"
. "."
identifier "messages"
. "."
identifier "display_messages"
argument_list
( "("
pair
hash_key_symbol "display_times"
: ":"
call
identifier "args"
. "."
identifier "display_times?"
) ")"
end "end"
end "end"
end "end"
end "end"

After

program
comment "# typed: strict"
comment "# frozen_string_literal: true"
call
identifier "require"
argument_list
string
" "\""
string_content "abstract_command"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "formula_installer"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "development_tools"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "messages"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "install"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "reinstall"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cleanup"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/utils"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/macos"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "cask/reinstall"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "upgrade"
" "\""
call
identifier "require"
argument_list
string
" "\""
string_content "api"
" "\""
module
module "module"
constant "Homebrew"
body_statement
module
module "module"
constant "Cmd"
body_statement
class
class "class"
constant "Reinstall"
superclass
< "<"
constant "AbstractCommand"
body_statement
call (+623 nodes collapsed)
call
identifier "sig"
block
{ "{"
block_body
call
identifier "override"
. "."
identifier "void"
} "}"
method
def "def"
identifier "run"
body_statement
assignment
left_assignment_list
identifier "formulae"
, ","
identifier "casks"
= "="
call
call
identifier "args"
. "."
identifier "named"
. "."
identifier "to_resolved_formulae_to_casks"
if (+72 nodes collapsed)
if_modifier (+23 nodes collapsed)
unless (+465 nodes collapsed)
if
if "if"
call
identifier "casks"
. "."
identifier "any?"
then
if_modifier
call
constant "Install"
. "."
identifier "ask_casks"
argument_list
identifier "casks"
if "if"
call
identifier "args"
. "."
identifier "ask?"
begin
begin "begin"
call (+70 nodes collapsed)
rescue
rescue "rescue"
exception_variable
=> "=>"
identifier "e"
then
call
identifier "ofail"
argument_list
identifier "e"
end "end"
end "end"
call
constant "Cleanup"
. "."
identifier "periodic_clean!"
call
call
constant "Homebrew"
. "."
identifier "messages"
. "."
identifier "display_messages"
argument_list
( "("
pair
hash_key_symbol "display_times"
: ":"
call
identifier "args"
. "."
identifier "display_times?"
) ")"
end "end"
end "end"
end "end"
end "end"