bump-formula-pr: fix tag/revision argument.
Can't do `@args[hash_type]` if `hash_type` is `nil`.
This commit is contained in:
parent
c42273727f
commit
ea9c9494a6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user