summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-01 16:06:20 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-06 16:12:24 -0600
commitdce72999c68a6fdb2bde798e0f1570693d28e463 (patch)
treecdc12285b1f96bed24272c1cca186198c6b6952e
parent6edc8d50dcec3252fd5afa244f9ade2e062f920d (diff)
downloadgitlab-ce-dce72999c68a6fdb2bde798e0f1570693d28e463.tar.gz
No || needed
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 70bb4a224a1..a97e1b53752 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -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?