Commit 213563c6 authored by Ben King's avatar Ben King Committed by Simon Knox

Change CI errors to split on a newline

parent f70d57ee
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
.bs-callout.bs-callout-danger .bs-callout.bs-callout-danger
%h4= _('Found errors in your %{gitlab_ci_yml}:') % { gitlab_ci_yml: '.gitlab-ci.yml' } %h4= _('Found errors in your %{gitlab_ci_yml}:') % { gitlab_ci_yml: '.gitlab-ci.yml' }
%ul %ul
- @pipeline.yaml_errors.split(",").each do |error| - @pipeline.yaml_errors.split("\n").each do |error|
%li= error %li= error
- lint_link_url = project_ci_pipeline_editor_path(@project, tab: "LINT_TAB") - lint_link_url = project_ci_pipeline_editor_path(@project, tab: "LINT_TAB")
- lint_link_start = '<a href="%{url}" class="gl-text-blue-500!">'.html_safe % { url: lint_link_url } - lint_link_start = '<a href="%{url}" class="gl-text-blue-500!">'.html_safe % { url: lint_link_url }
......
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