Merge pull request #4259 from GauthamGoli/fix-bump-args

cli_parser: Rename @bump_args to args
This commit is contained in:
Mike McQuaid 2018-06-01 20:47:39 +01:00 committed by GitHub
commit 39a036b746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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