From 75787b300ae154452d242928e972f738f90dbffa Mon Sep 17 00:00:00 2001 From: Peter Cai <222655+pcai@users.noreply.github.com> Date: Mon, 10 Jun 2024 04:17:30 +0000 Subject: [PATCH] fix rubocop violation --- lib/winrm/shells/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/winrm/shells/base.rb b/lib/winrm/shells/base.rb index 3d11ac49..87adac35 100644 --- a/lib/winrm/shells/base.rb +++ b/lib/winrm/shells/base.rb @@ -187,6 +187,7 @@ def remove_finalizer def self.finalize(connection_opts, transport, shell_id) proc { Thread.new { close_shell(connection_opts, transport, shell_id) } } end + private_class_method :finalize end end end