diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-01 16:06:20 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-06 16:12:24 -0600 |
commit | dce72999c68a6fdb2bde798e0f1570693d28e463 (patch) | |
tree | cdc12285b1f96bed24272c1cca186198c6b6952e /app | |
parent | 6edc8d50dcec3252fd5afa244f9ade2e062f920d (diff) | |
download | gitlab-ce-dce72999c68a6fdb2bde798e0f1570693d28e463.tar.gz |
No || needed
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
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? |