From f83801a9fe092334d5b325bbe4b736aa6b88007e Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 22 Feb 2018 18:57:19 +0200 Subject: Update files to pass modern rubocop checks. Disable some of them Signed-off-by: Dmitriy Zaporozhets --- lib/gitlab_custom_hook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab_custom_hook.rb') diff --git a/lib/gitlab_custom_hook.rb b/lib/gitlab_custom_hook.rb index b151e29..67096df 100644 --- a/lib/gitlab_custom_hook.rb +++ b/lib/gitlab_custom_hook.rb @@ -47,7 +47,7 @@ class GitlabCustomHook # Submit changes to the hook via its stdin. begin IO.copy_stream(StringIO.new(changes), stdin_writer) - rescue Errno::EPIPE + rescue Errno::EPIPE # rubocop:disable Lint/HandleExceptions # It is not an error if the hook does not consume all of its input. end -- cgit v1.2.1