File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/fastlane/plugin/firebase_app_distribution Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ def self.run(params)
2828 end
2929 udids = client . get_project_tester_udids ( project_name ( project_number ) ) . tester_udids
3030
31- if udids . empty?
32- UI . important ( "App Distribution fetched 0 tester UDIDs. Nothing written to output file." )
31+ if udids . to_a . empty?
32+ File . delete ( params [ :output_file ] ) if File . exist? ( params [ :output_file ] )
33+ UI . important ( "App Distribution fetched 0 tester UDIDs. Removed output file." )
3334 else
3435 write_udids_to_file ( udids , params [ :output_file ] )
3536 UI . success ( "🎉 App Distribution tester UDIDs written to: #{ params [ :output_file ] } " )
Original file line number Diff line number Diff line change 11module Fastlane
22 module FirebaseAppDistribution
3- VERSION = "0.9.0.pre.3 "
3+ VERSION = "0.9.0.pre.4 "
44 end
55end
You can’t perform that action at this time.
0 commit comments