summaryrefslogtreecommitdiff
path: root/lib/bundler/graph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/graph.rb')
-rw-r--r--lib/bundler/graph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb
index 244e3e9b99..5138a1378e 100644
--- a/lib/bundler/graph.rb
+++ b/lib/bundler/graph.rb
@@ -107,7 +107,7 @@ module Bundler
}
end
- matches = matches.sort_by { |s| s.sort_obj } # HACK: shouldn't be needed
+ matches = matches.sort_by(&:sort_obj) # HACK: shouldn't be needed
end
end
end