Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-02-16 03:20:17 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2017-02-16 03:20:17 +0300
commit22c983d7a0219e48856800405aec7d9b930fc9a1 (patch)
tree6b852c30eca68e0013a3ee72c5d9e7ee8a509c1d /lib/api/helpers
parenta4b2e90e6418bedc20d2a648243f7ee140c6761d (diff)
Fix rubocop offenses
Diffstat (limited to 'lib/api/helpers')
-rw-r--r--lib/api/helpers/ci.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/api/helpers/ci.rb b/lib/api/helpers/ci.rb
index 24669eba4bb..e928d7c874a 100644
--- a/lib/api/helpers/ci.rb
+++ b/lib/api/helpers/ci.rb
@@ -2,9 +2,8 @@ module API
module Helpers
module Ci
def runner_registration_token_valid?
- ActiveSupport::SecurityUtils.variable_size_secure_compare(
- params[:token],
- current_application_settings.runners_registration_token)
+ ActiveSupport::SecurityUtils.variable_size_secure_compare(params[:token],
+ current_application_settings.runners_registration_token)
end
def get_runner_version_from_params
@@ -21,4 +20,4 @@ module API
end
end
end
-end \ No newline at end of file
+end