Skip to content
Snippets Groups Projects
Commit 160324d0 authored by micael.bergeron's avatar micael.bergeron
Browse files

try to fix the failing spec on external refs

parent 4374a38f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,7 +26,7 @@ class Commit
DIFF_HARD_LIMIT_LINES = 50000
 
MIN_SHA_LENGTH = 7
COMMIT_SHA_PATTERN = /\b(?<![~#!@:])\h{#{MIN_SHA_LENGTH},40}/.freeze
COMMIT_SHA_PATTERN = /(?<!\s[~#!@:])\h{#{MIN_SHA_LENGTH},40}/.freeze
 
def banzai_render_context(field)
context = { pipeline: :single_line, project: self.project }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment