Skip to content

Commit

Permalink
Fix Style/TrailingCommaInHashLiteral cop.
Browse files Browse the repository at this point in the history
  • Loading branch information
hainesr committed Feb 9, 2020
1 parent d615f4a commit 15300f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Expand Up @@ -168,11 +168,3 @@ Style/SafeNavigation:
- 'test/filesystem/file_nonmutating_test.rb'
- 'test/filesystem/file_stat_test.rb'
- 'test/test_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInHashLiteral:
Exclude:
- 'lib/zip/constants.rb'
2 changes: 1 addition & 1 deletion lib/zip/constants.rb
Expand Up @@ -110,6 +110,6 @@ module Zip
COMPRESSION_METHOD_JPEG => 'JPEG variant',
COMPRESSION_METHOD_WAVPACK => 'WavPack compressed data',
COMPRESSION_METHOD_PPMD => 'PPMd version I, Rev 1',
COMPRESSION_METHOD_AES => 'AES encryption',
COMPRESSION_METHOD_AES => 'AES encryption'
}.freeze
end

0 comments on commit 15300f7

Please sign in to comment.