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 /lib/api | |
parent | cc06eab237a6fe5501fcfdb2d1f1e57f711b56f5 (diff) | |
download | gitlab-ce-cfa18dab86d5408814f4c6083b843205c3d1599e.tar.gz |
Fix rubocop errors
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/lint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/lint.rb b/lib/api/lint.rb index 379c266abe1..2757b800af0 100644 --- a/lib/api/lint.rb +++ b/lib/api/lint.rb @@ -13,7 +13,7 @@ module API jobs: [] } - if Ci::GitlabCiYamlProcessor.errors(@content) != nil + if !Ci::GitlabCiYamlProcessor.errors(@content).nil? status 200 response[:errors].push(Ci::GitlabCiYamlProcessor.errors(@content)) response[:status] = 'invalid' |