From f681f9d9a09c65a538692ab9c6c2a785827f29de Mon Sep 17 00:00:00 2001 From: Dhurba Baral Date: Wed, 17 Mar 2021 22:29:11 +0545 Subject: [PATCH] Adds missing instance variable. I found out that @params was using everywhere but it wasn't initialized in any places. So, I checked the previous [tag](https://github.com/raul/pt/blob/v1.0.2/lib/ptt/ui.rb#L20) and added it here based on that. --- lib/pt/cli.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pt/cli.rb b/lib/pt/cli.rb index 0100ae1..0f722d6 100644 --- a/lib/pt/cli.rb +++ b/lib/pt/cli.rb @@ -19,6 +19,7 @@ def initialize(*args) @global_config = load_global_config @local_config = load_local_config @client = Client.new(@global_config[:api_number], @local_config) + @params = args[1..-1] @project = @client.project end