Skip to content

Commit

Permalink
Merge pull request #16376 from MikeMcQuaid/cask_on_system_conditional…
Browse files Browse the repository at this point in the history
…s_fix

rubocops/cask/on_system_conditionals: allow blocks.
  • Loading branch information
MikeMcQuaid authored Dec 21, 2023
2 parents 9679b49 + a21b2dc commit f093c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/rubocops/cask/on_system_conditionals.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def on_cask(cask_block)
audit_on_system_blocks(stanza.stanza_node, stanza.stanza_name)
end

audit_arch_conditionals(cask_body)
audit_arch_conditionals(cask_body, allowed_blocks: FLIGHT_STANZA_NAMES)
audit_macos_version_conditionals(cask_body, recommend_on_system: false)
simplify_sha256_stanzas
end
Expand Down

0 comments on commit f093c27

Please sign in to comment.