Commit a7cebd8b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Avoid extra array allocation

parent 3653810e
......@@ -8,7 +8,9 @@ module EE
override :extracted_mentionables
def extracted_mentionables(refs)
super + refs.epics
super.concat(
refs.epics
)
end
end
end
......@@ -10,10 +10,9 @@ module EE
override :other_patterns
def other_patterns
[
::Epic.reference_pattern,
*super
]
super.unshift(
::Epic.reference_pattern
)
end
end
end
......
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