summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-02 18:41:27 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-03 02:11:50 +0900
commite3fd8caf94c4d5ca0b6bc086d43effc2fb7c5792 (patch)
tree3519b8dc925dcfd8b1d8412ce3967610466115e9 /app
parentf0bc9af36b716066347549de4c0a5a3ec997a983 (diff)
downloadgitlab-ce-e3fd8caf94c4d5ca0b6bc086d43effc2fb7c5792.tar.gz
Improved CI. Fix yaml_errors boolean evaluation.
Diffstat (limited to 'app')
-rw-r--r--app/finders/pipelines_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/pipelines_finder.rb b/app/finders/pipelines_finder.rb
index 03183efadda..93f1ab9598f 100644
--- a/app/finders/pipelines_finder.rb
+++ b/app/finders/pipelines_finder.rb
@@ -89,7 +89,7 @@ class PipelinesFinder
def by_yaml_errors(items)
flg = Gitlab::Utils.to_boolean(params[:yaml_errors])
- if flg.present?
+ if !flg.nil?
if flg
items.where("yaml_errors IS NOT NULL")
else