summaryrefslogtreecommitdiff
path: root/rubocop/cop/gem_fetcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/gem_fetcher.rb')
-rw-r--r--rubocop/cop/gem_fetcher.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/rubocop/cop/gem_fetcher.rb b/rubocop/cop/gem_fetcher.rb
index 6a951f5f91a..e157d8e0791 100644
--- a/rubocop/cop/gem_fetcher.rb
+++ b/rubocop/cop/gem_fetcher.rb
@@ -25,12 +25,12 @@ module RuboCop
private
def gemfile?(node)
- node.
- location.
- expression.
- source_buffer.
- name.
- end_with?("Gemfile")
+ node
+ .location
+ .expression
+ .source_buffer
+ .name
+ .end_with?("Gemfile")
end
end
end