Skip to content

Commit

Permalink
fix(deliver/runner): show file type by platform in error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogdriip committed Jul 17, 2023
1 parent 600555c commit 341217a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deliver/lib/deliver/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def upload_binary

unless result
transporter_errors = transporter.displayable_errors
UI.user_error!("Error uploading ipa file: \n #{transporter_errors}")
file_type = platform == "osx" ? "pkg" : "ipa"
UI.user_error!("Error uploading #{file_type} file: \n #{transporter_errors}")
end
end

Expand Down

0 comments on commit 341217a

Please sign in to comment.