diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-02 18:41:27 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-03 02:11:50 +0900 |
commit | e3fd8caf94c4d5ca0b6bc086d43effc2fb7c5792 (patch) | |
tree | 3519b8dc925dcfd8b1d8412ce3967610466115e9 /app/finders | |
parent | f0bc9af36b716066347549de4c0a5a3ec997a983 (diff) | |
download | gitlab-ce-e3fd8caf94c4d5ca0b6bc086d43effc2fb7c5792.tar.gz |
Improved CI. Fix yaml_errors boolean evaluation.
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/pipelines_finder.rb | 2 |
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 |