refactor: rollback in actions called in helper

This commit is contained in:
Malo Léon 2023-05-01 22:48:51 +02:00
parent 04e06cf1a7
commit 9e685cae0e

View File

@ -8,7 +8,7 @@ module Fastlane
# Define method to delete temporary keychain
def self.delete_temp_keychain(name)
if File.exist?(File.expand_path("~/Library/Keychains/#{name}-db"))
Fastlane::Actions.delete_keychain(
Actions::DeleteKeychainAction.run(
name: name
)
end
@ -16,7 +16,7 @@ module Fastlane
# Define method to create temporary keychain
def self.create_temp_keychain(name, password)
Fastlane::Actions.create_keychain(
Actions::CreateKeychainAction.run(
name: name,
password: password,
unlock: false,