[rubygems/rubygems] Remove unused parameter

043f73586b
This commit is contained in:
David Rodríguez 2025-07-23 17:41:31 +02:00 committed by Hiroshi SHIBATA
parent 7f25b8f5fb
commit e673bbf77b
2 changed files with 2 additions and 3 deletions

View file

@ -2,9 +2,8 @@
module Spec
class CommandExecution
def initialize(command, working_directory:, timeout:)
def initialize(command, timeout:)
@command = command
@working_directory = working_directory
@timeout = timeout
@original_stdout = String.new
@original_stderr = String.new

View file

@ -38,7 +38,7 @@ module Spec
dir = options[:dir]
env = options[:env] || {}
command_execution = CommandExecution.new(cmd.to_s, working_directory: dir, timeout: options[:timeout] || 60)
command_execution = CommandExecution.new(cmd.to_s, timeout: options[:timeout] || 60)
require "open3"
require "shellwords"