Skip to content

Commit 906b40d

Browse files
committed
Update rubocop
1 parent 2fa3037 commit 906b40d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gemspec
88
gem 'debug'
99
gem 'gouteur', '~> 1.0'
1010
gem 'mini_racer', '~> 0.19'
11-
gem 'rake', '~> 13.0'
11+
gem 'rake', '~> 13.3'
1212
gem 'rspec', '~> 3.13'
13-
gem 'rubocop', '~> 1.68'
13+
gem 'rubocop', '~> 1.79'
1414
gem 'simplecov-cobertura'

lib/js_regex/converter/backreference_converter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def convert_to_plain_num_ref
3636

3737
# Check if this backreference refers to a group that was recursively called
3838
original_group = target_position
39-
if recursive_position = context.get_recursive_group_position(original_group)
39+
if (recursive_position = context.get_recursive_group_position(original_group))
4040
# Use the position of the group created by the recursive call
4141
position = recursive_position
4242
end

0 commit comments

Comments
 (0)