Skip to content

Commit e65532a

Browse files
committed
Rubocop: Lint/DetectMetadataTrailingLeadingWhitespace: Except BadChars
1 parent 04a6185 commit e65532a

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)