Merge pull request #14219 from bevanjkay/cask-audit-enable-signing-flag
dev-cmd/audit: enable --[no-]signing flag for audits
This commit is contained in:
commit
f656f816bf
@ -52,6 +52,8 @@ module Homebrew
|
|||||||
"`--strict` and `--online`."
|
"`--strict` and `--online`."
|
||||||
switch "--[no-]appcast",
|
switch "--[no-]appcast",
|
||||||
description: "Audit the appcast."
|
description: "Audit the appcast."
|
||||||
|
switch "--[no-]signing",
|
||||||
|
description: "Audit for signed apps, which are required on ARM"
|
||||||
switch "--token-conflicts",
|
switch "--token-conflicts",
|
||||||
description: "Audit for token conflicts."
|
description: "Audit for token conflicts."
|
||||||
flag "--tap=",
|
flag "--tap=",
|
||||||
@ -234,6 +236,8 @@ module Homebrew
|
|||||||
download: nil,
|
download: nil,
|
||||||
# No need for `|| nil` for `--[no-]appcast` because boolean switches are already `nil` if not passed
|
# No need for `|| nil` for `--[no-]appcast` because boolean switches are already `nil` if not passed
|
||||||
appcast: args.appcast?,
|
appcast: args.appcast?,
|
||||||
|
# No need for `|| nil` for `--[no-]signing` because boolean switches are already `nil` if not passed
|
||||||
|
signing: args.signing?,
|
||||||
online: args.online? || nil,
|
online: args.online? || nil,
|
||||||
strict: args.strict? || nil,
|
strict: args.strict? || nil,
|
||||||
new_cask: args.new_cask? || nil,
|
new_cask: args.new_cask? || nil,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user