From 79fa40f8cd4a8761272e78985bb7abd1294e4e73 Mon Sep 17 00:00:00 2001 From: ryota765 Date: Mon, 5 Aug 2024 15:51:31 +0900 Subject: [PATCH] handle nil payload --- lib/jets/commands/call/caller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jets/commands/call/caller.rb b/lib/jets/commands/call/caller.rb index 34f0798ce..c9051bdf4 100644 --- a/lib/jets/commands/call/caller.rb +++ b/lib/jets/commands/call/caller.rb @@ -75,7 +75,7 @@ def remote_run end add_console_link_to_clipboard - result = resp.payload.read # already been normalized/JSON.dump by AWS + result = resp.payload&.read # already been normalized/JSON.dump by AWS unless @options[:mute_output] STDOUT.puts result # only thing that goes to stdout end