match/lib/match/importer.rb in fastlane-2.210.1 vs match/lib/match/importer.rb in fastlane-2.211.0
- old
+ new
@@ -142,9 +142,11 @@
end
# Encrypt and commit
encryption.encrypt_files if encryption
storage.save_changes!(files_to_commit: files_to_commit)
+ ensure
+ storage.clear_changes if storage
end
def ensure_valid_file_path(file_path, file_description, file_extension, optional: false)
optional_file_message = optional ? " or leave empty to skip this file" : ""
file_path ||= UI.input("#{file_description} (#{file_extension}) path#{optional_file_message}:")