match/lib/match/nuke.rb in fastlane-2.185.1 vs match/lib/match/nuke.rb in fastlane-2.186.0

- old
+ new

@@ -245,12 +245,11 @@ UI.message(ex.to_s) end UI.success("Successfully deleted certificate") end - if self.files.count > 0 - files_to_delete = delete_files! - end + files_to_delete = delete_files! if self.files.count > 0 + files_to_delete ||= [] self.encryption.encrypt_files if self.encryption if files_to_delete.count > 0 # Now we need to save all this to the storage too, if needed