From 6dc2c3a46a276cb043cb469ab54d63306e776858 Mon Sep 17 00:00:00 2001 From: Jason Hagglund Date: Wed, 22 Nov 2023 16:05:30 -0600 Subject: [PATCH] Remove unneeded nil catch given #21618 --- fastlane_core/lib/fastlane_core/itunes_transporter.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/fastlane_core/lib/fastlane_core/itunes_transporter.rb b/fastlane_core/lib/fastlane_core/itunes_transporter.rb index 2ce2700d13d..dfb6be358e6 100644 --- a/fastlane_core/lib/fastlane_core/itunes_transporter.rb +++ b/fastlane_core/lib/fastlane_core/itunes_transporter.rb @@ -243,9 +243,6 @@ def execute(command, hide_output) @errors << ex.to_s end - # if FastlanePty.spawn returns nil exit code for whatever reason, force it to -1 - exit_status = -1 unless exit_status - @errors << "The call to the altool completed with a non-zero exit status: #{exit_status}. This indicates a failure." unless exit_status.zero? @errors << "-1 indicates altool exited abnormally; try retrying (see https://github.com/fastlane/fastlane/issues/21535)" if exit_status == -1