cli_parser: Rename @bump_args to args

This commit is contained in:
Gautham Goli 2018-06-01 21:13:36 +05:30
parent f5e5a81a7f
commit e21b7618a9

View File

@ -289,7 +289,7 @@ module Homebrew
# GitHub API responds immediately but fork takes a few seconds to be ready. # GitHub API responds immediately but fork takes a few seconds to be ready.
sleep 3 sleep 3
rescue *GitHub.api_errors => e rescue *GitHub.api_errors => e
formula.path.atomic_write(backup_file) unless @bump_args.dry_run? formula.path.atomic_write(backup_file) unless args.dry_run?
odie "Unable to fork: #{e.message}!" odie "Unable to fork: #{e.message}!"
end end