Merge pull request #4259 from GauthamGoli/fix-bump-args
cli_parser: Rename @bump_args to args
This commit is contained in:
commit
39a036b746
@ -289,7 +289,7 @@ module Homebrew
|
||||
# GitHub API responds immediately but fork takes a few seconds to be ready.
|
||||
sleep 3
|
||||
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}!"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user