Skip to content

Commit 17125b4

Browse files
authored
Merge pull request #20335 from bcoles/rubocop-Lint/DetectMetadataTrailingLeadingWhitespace
Rubocop: Lint/DetectMetadataTrailingLeadingWhitespace: Except BadChars
2 parents 8ab2591 + e65532a commit 17125b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/cop/lint/detect_metadata_trailing_leading_whitespace.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Lint
2020
class DetectMetadataTrailingLeadingWhitespace < Base
2121
extend AutoCorrector
2222
MSG = 'Metadata key or value has leading or trailing whitespace.'
23-
EXEMPT_KEYS = %w[Description Payload].freeze
23+
EXEMPT_KEYS = %w[Description Payload BadChars].freeze
2424

2525
# Called for every method definition node
2626
# Only processes the initialize method

0 commit comments

Comments
 (0)