Merge pull request #4131 from MikeMcQuaid/bump-formula-pr-fix-tag-revision

bump-formula-pr: fix tag/revision argument.
This commit is contained in:
Mike McQuaid 2018-05-02 09:53:40 +01:00 committed by GitHub
commit 05fc9307ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ module Homebrew
[checksum.hash_type, checksum.hexdigest]
end
new_hash = @args[hash_type]
new_hash = @args[hash_type] if hash_type
new_tag = @args.tag
new_revision = @args.revision
new_mirror = @args.mirror