Commit 876299b3 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Fix rubocop issues

parent 6f316c09
Pipeline #1650 passed with stage
in 37 seconds
......@@ -16,7 +16,7 @@ rt = settings.rt[:server],
cookies: settings.rt[:cookies])
post '/' do # rubocop:disable Metrics/BlockLength
if not settings.token.nil?
unless settings.token.nil?
halt 403 unless request.env['HTTP_X_GITLAB_TOKEN'] == settings.token
gitlab_event = request.env['HTTP_X_GITLAB_EVENT']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment