remove nil param
This commit is contained in:
parent
b8f18309c3
commit
98ec60c15e
@ -253,7 +253,6 @@ module Homebrew
|
|||||||
# For switches, we add `|| nil` so that `nil` will be passed
|
# For switches, we add `|| nil` so that `nil` will be passed
|
||||||
# instead of `false` if they aren't set.
|
# instead of `false` if they aren't set.
|
||||||
# This way, we can distinguish between "not set" and "set to false".
|
# This way, we can distinguish between "not set" and "set to false".
|
||||||
audit_download: nil,
|
|
||||||
audit_online: (args.online? || nil),
|
audit_online: (args.online? || nil),
|
||||||
audit_strict: (args.strict? || nil),
|
audit_strict: (args.strict? || nil),
|
||||||
|
|
||||||
@ -263,7 +262,6 @@ module Homebrew
|
|||||||
audit_new_cask: (args.new_cask? || nil),
|
audit_new_cask: (args.new_cask? || nil),
|
||||||
audit_token_conflicts: (args.token_conflicts? || nil),
|
audit_token_conflicts: (args.token_conflicts? || nil),
|
||||||
quarantine: true,
|
quarantine: true,
|
||||||
language: nil,
|
|
||||||
any_named_args: !no_named_args,
|
any_named_args: !no_named_args,
|
||||||
only: args.only,
|
only: args.only,
|
||||||
except: args.except,
|
except: args.except,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user