diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-02-16 01:20:17 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-02-16 01:20:17 +0100 |
commit | 22c983d7a0219e48856800405aec7d9b930fc9a1 (patch) | |
tree | 6b852c30eca68e0013a3ee72c5d9e7ee8a509c1d /lib/api/helpers | |
parent | a4b2e90e6418bedc20d2a648243f7ee140c6761d (diff) | |
download | gitlab-ce-22c983d7a0219e48856800405aec7d9b930fc9a1.tar.gz |
Fix rubocop offenses
Diffstat (limited to 'lib/api/helpers')
-rw-r--r-- | lib/api/helpers/ci.rb | 7 |
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 |