Commit dce72999 authored by Douwe Maan's avatar Douwe Maan

No || needed

parent 6edc8d50
...@@ -283,7 +283,7 @@ module Ci ...@@ -283,7 +283,7 @@ module Ci
def ci_yaml_file def ci_yaml_file
return @ci_yaml_file if defined?(@ci_yaml_file) return @ci_yaml_file if defined?(@ci_yaml_file)
@ci_yaml_file ||= project.repository.gitlab_ci_yml_for(sha) @ci_yaml_file = project.repository.gitlab_ci_yml_for(sha)
end end
def has_yaml_errors? def has_yaml_errors?
......
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