Skip to content

Commit

Permalink
Fix order and grouping of cask stanzas
Browse files Browse the repository at this point in the history
- Put `desc` stanza after the `name` stanza
- Add missing `vst3_plugin` stanza to the group containing `vst_plugin`
  • Loading branch information
waldyrious committed Aug 9, 2020
1 parent d5dfe4d commit 1b71d99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/rubocops/cask/constants/stanza.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Cask
module Constants
STANZA_GROUPS = [
[:version, :sha256],
[:url, :appcast, :desc, :name, :homepage],
[:url, :appcast, :name, :desc, :homepage],
[
:auto_updates,
:conflicts_with,
Expand All @@ -32,6 +32,7 @@ module Constants
:service,
:audio_unit_plugin,
:vst_plugin,
:vst3_plugin,
:artifact,
:stage_only,
],
Expand Down

0 comments on commit 1b71d99

Please sign in to comment.