From dff82be85978af95aa26f694479751beab629267 Mon Sep 17 00:00:00 2001 From: Cool Fire Date: Wed, 28 Jun 2017 19:25:14 +0200 Subject: [PATCH] Fix lint error --- .gitlab-ci.yml | 2 +- plugins/socketmessage.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3adeea0..7677f8f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,4 +73,4 @@ rubocop: - ruby script: - gem install rubocop --no-ri --no-rdoc - - rubocop -l -f simple --except UnusedMethodArgument,RescueException,Eval,AssignmentInCondition + - rubocop -l -f simple --except UnusedMethodArgument,RescueException,Eval,AssignmentInCondition,ScriptPermission diff --git a/plugins/socketmessage.rb b/plugins/socketmessage.rb index 7aef744..8fd458f 100644 --- a/plugins/socketmessage.rb +++ b/plugins/socketmessage.rb @@ -16,7 +16,7 @@ class Socketmessage @server = TCPServer.open('localhost', 2000) - t = Thread.new{ startserver } + Thread.new{ startserver } end # Close server -- GitLab