Skip to content

Commit

Permalink
Fix RuboCop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Aug 7, 2023
1 parent add56dd commit 6ffa63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dry/schema/key_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ module Schema
class KeyValidator
extend Dry::Initializer

INDEX_REGEX = /\[\d+\]/.freeze
DIGIT_REGEX = /\A\d+\z/.freeze
INDEX_REGEX = /\[\d+\]/
DIGIT_REGEX = /\A\d+\z/
BRACKETS = "[]"

# @api private
Expand Down

0 comments on commit 6ffa63d

Please sign in to comment.