Skip to content

Commit

Permalink
Remove unneeded nil catch given fastlane#21618
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMetalCode committed Nov 22, 2023
1 parent 3fb4124 commit 6dc2c3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fastlane_core/lib/fastlane_core/itunes_transporter.rb
Expand Up @@ -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

Expand Down

0 comments on commit 6dc2c3a

Please sign in to comment.