Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong force keyword. #9379

Merged
merged 1 commit into from Dec 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 3 additions & 7 deletions Library/Homebrew/cmd/fetch.rb
Expand Up @@ -125,14 +125,10 @@ def fetch
else
cask = formula_or_cask

options = {
force: args.force?,
quarantine: args.quarantine?,
}.compact
quarantine = args.quarantine?
quarantine = true if quarantine.nil?

options[:quarantine] = true if options[:quarantine].nil?

download = Cask::Download.new(cask, **options)
download = Cask::Download.new(cask, quarantine: quarantine)
fetch_cask(download, args: args)
end
end
Expand Down