From 66f06886f82098e65e1c49061263e80ab6c2755b Mon Sep 17 00:00:00 2001 From: Piotr Murach Date: Mon, 13 Jan 2020 23:27:53 +0100 Subject: [PATCH] Change to fix Ruby 2.7 warning and close issue #57 --- lib/tty/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tty/command.rb b/lib/tty/command.rb index 7040d9e..78dea67 100644 --- a/lib/tty/command.rb +++ b/lib/tty/command.rb @@ -174,7 +174,7 @@ def dry_run? # @api private def command(*args) cmd = Cmd.new(*args) - cmd.update(@cmd_options) + cmd.update(**@cmd_options) cmd end