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

dev-cmd/audit: enable --[no-]signing flag for audits #14219

Merged
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
4 changes: 4 additions & 0 deletions Library/Homebrew/dev-cmd/audit.rb
Expand Up @@ -52,6 +52,8 @@ def audit_args
"`--strict` and `--online`."
switch "--[no-]appcast",
description: "Audit the appcast."
switch "--[no-]signing",
description: "Audit for signed apps, which are required on ARM"
switch "--token-conflicts",
description: "Audit for token conflicts."
flag "--tap=",
Expand Down Expand Up @@ -234,6 +236,8 @@ def audit
download: nil,
# No need for `|| nil` for `--[no-]appcast` because boolean switches are already `nil` if not passed
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,
strict: args.strict? || nil,
new_cask: args.new_cask? || nil,
Expand Down