From df971c7e2389a8acdcdb6083e7daf66f5dc50ee1 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sun, 12 Jan 2025 15:06:13 -0800 Subject: [PATCH] Remove unnecessary requires (RuboCop) --- lib/sshkit/backends/connection_pool.rb | 1 - lib/sshkit/runners/parallel.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/sshkit/backends/connection_pool.rb b/lib/sshkit/backends/connection_pool.rb index 9df0dfe6..dcd27d5d 100644 --- a/lib/sshkit/backends/connection_pool.rb +++ b/lib/sshkit/backends/connection_pool.rb @@ -1,5 +1,4 @@ require "monitor" -require "thread" # Since we call to_s on new connection arguments and use that as a cache key, we # need to make sure the memory address of the object is not used as part of the diff --git a/lib/sshkit/runners/parallel.rb b/lib/sshkit/runners/parallel.rb index fd5d018a..3f14bd6c 100644 --- a/lib/sshkit/runners/parallel.rb +++ b/lib/sshkit/runners/parallel.rb @@ -1,5 +1,3 @@ -require 'thread' - module SSHKit module Runner