Fix wrong force keyword.
This commit is contained in:
parent
4b3e913937
commit
1bfd2ac0e2
@ -125,14 +125,10 @@ module Homebrew
|
|||||||
else
|
else
|
||||||
cask = formula_or_cask
|
cask = formula_or_cask
|
||||||
|
|
||||||
options = {
|
quarantine = args.quarantine?
|
||||||
force: args.force?,
|
quarantine = true if quarantine.nil?
|
||||||
quarantine: args.quarantine?,
|
|
||||||
}.compact
|
|
||||||
|
|
||||||
options[:quarantine] = true if options[:quarantine].nil?
|
download = Cask::Download.new(cask, quarantine: quarantine)
|
||||||
|
|
||||||
download = Cask::Download.new(cask, **options)
|
|
||||||
fetch_cask(download, args: args)
|
fetch_cask(download, args: args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user