No || needed

This commit is contained in:
Douwe Maan 2017-02-01 16:06:20 -06:00
parent 6edc8d50dc
commit dce72999c6
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ module Ci
def 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
def has_yaml_errors?