diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-14 15:13:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-14 15:13:33 +0300 |
commit | 79a7da2537e94c34aba92ad4b9a5dc1da431b2c4 (patch) | |
tree | 83b6a53a15a9266ca2e2aca061dd3f33d5282b1f /rubocop | |
parent | a58667ab4b4fc4b0d1e47e95d91c27ccadd0acd3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r-- | rubocop/cop/migration/schedule_async.rb | 2 | ||||
-rw-r--r-- | rubocop/cop/project_path_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/cop/migration/schedule_async.rb b/rubocop/cop/migration/schedule_async.rb index f296628c3d6..74bd2baffa9 100644 --- a/rubocop/cop/migration/schedule_async.rb +++ b/rubocop/cop/migration/schedule_async.rb @@ -46,7 +46,7 @@ module RuboCop end def arguments(node) - node.children[2..-1] + node.children[2..] end end end diff --git a/rubocop/cop/project_path_helper.rb b/rubocop/cop/project_path_helper.rb index ec3f847faf9..0d12f2d2b12 100644 --- a/rubocop/cop/project_path_helper.rb +++ b/rubocop/cop/project_path_helper.rb @@ -46,7 +46,7 @@ module RuboCop end def arguments(node) - node.children[2..-1] + node.children[2..] end end end |