Commit 6dad2bc6 authored by Douwe Maan's avatar Douwe Maan

Fix referenced_mentionables method.

parent f3ea06eb
......@@ -67,7 +67,7 @@ module Mentionable
# We're using this method instead of Array diffing because that requires
# both of the object's `hash` values to be the same, which may not be the
# case for otherwise identical Commit objects.
refs.reject! { |ref| ref == local_reference }
refs.reject { |ref| ref == local_reference }
end
# Create a cross-reference Note for each GFM reference to another Mentionable found in +mentionable_text+.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment