Skip to content

Commit

Permalink
Fix RuboCop Style/RedundantLineContinuation offenses from v1.49.0
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Apr 7, 2023
1 parent 3214729 commit 0bc087c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/aliases.rb
Expand Up @@ -13,9 +13,11 @@ module Aliases
else
path
end.freeze
RESERVED = (Commands::HOMEBREW_INTERNAL_COMMAND_ALIASES.keys + \
Dir["#{HOMEBREW_LIBRARY_PATH}/cmd/*.rb"].map { |cmd| File.basename(cmd, ".rb") } + \
%w[alias unalias]).freeze
RESERVED = (
Commands::HOMEBREW_INTERNAL_COMMAND_ALIASES.keys +
Dir["#{HOMEBREW_LIBRARY_PATH}/cmd/*.rb"].map { |cmd| File.basename(cmd, ".rb") } +
%w[alias unalias]
).freeze

module_function

Expand Down

0 comments on commit 0bc087c

Please sign in to comment.