diff options
| author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-08-25 15:45:23 +0200 |
|---|---|---|
| committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-07 12:10:49 +0200 |
| commit | cfa18dab86d5408814f4c6083b843205c3d1599e (patch) | |
| tree | ecd64bed9c79eed408d9216b77039fafb7900836 /app/controllers/ci | |
| parent | cc06eab237a6fe5501fcfdb2d1f1e57f711b56f5 (diff) | |
| download | gitlab-ce-cfa18dab86d5408814f4c6083b843205c3d1599e.tar.gz | |
Fix rubocop errors
Diffstat (limited to 'app/controllers/ci')
| -rw-r--r-- | app/controllers/ci/lints_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/ci/lints_controller.rb b/app/controllers/ci/lints_controller.rb index e03543a9267..fa57e6c5e14 100644 --- a/app/controllers/ci/lints_controller.rb +++ b/app/controllers/ci/lints_controller.rb @@ -11,7 +11,7 @@ module Ci if @content.blank? @status = false @error = "Please provide content of .gitlab-ci.yml" - elsif Ci::GitlabCiYamlProcessor.errors(@content) != nil + elsif !Ci::GitlabCiYamlProcessor.errors(@content).nil? @status = false @error = Ci::GitlabCiYamlProcessor.errors(@content) else |
