diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-05 21:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-05 21:08:48 +0300 |
commit | 3e1c760141a27097d74d191a619fa6edecd86fe7 (patch) | |
tree | dc26e1842b355d2ebad6c8923077b0a016aa82c9 /rubocop/qa_helpers.rb | |
parent | 74dd67ddea70f70830f3fe1ca65b06b604ec229f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop/qa_helpers.rb')
-rw-r--r-- | rubocop/qa_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/qa_helpers.rb b/rubocop/qa_helpers.rb index 95875d64727..f4adf7f4e9f 100644 --- a/rubocop/qa_helpers.rb +++ b/rubocop/qa_helpers.rb @@ -5,7 +5,7 @@ module RuboCop def in_qa_file?(node) path = node.location.expression.source_buffer.name - path.start_with?(File.join(RuboCop::PathUtil.pwd, 'qa')) + path.start_with?(File.join(Dir.pwd, 'qa')) end end end |