rubocop: Remove extra space within array brackets

This commit is contained in:
Will Binns 2019-01-12 06:37:47 -06:00 committed by Will Binns
parent bb4384e21c
commit 5a0393e9b9
2 changed files with 1 additions and 10 deletions

View File

@ -6,15 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideArrayLiteralBrackets:
Exclude:
- '_contrib/updatetx.rb'
# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.

View File

@ -24,7 +24,7 @@ if !File.exist?('_translations/' + lang + '.yml')
exit
end
dirs = [ '_templates', '_layouts' ]
dirs = ['_templates', '_layouts']
dirs.each do |dir|
Dir.foreach(dir) do |file|