From 453b4ecac4ce145b56efe694cb093f19ea0dad27 Mon Sep 17 00:00:00 2001 From: vivek-dtdl Date: Thu, 9 Nov 2023 22:56:35 +0530 Subject: [PATCH] Update other.md for Match::Storage contract changes Match::Storage changed in https://github.com/fastlane/fastlane/pull/21018/ --- docs/advanced/other.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/other.md b/docs/advanced/other.md index 198bae5e2..3707f72d8 100644 --- a/docs/advanced/other.md +++ b/docs/advanced/other.md @@ -103,7 +103,7 @@ irb(main):005:0> branch = 'master' Now create an instance of `Storage` and `Encryption`. The `download` method on `Storage` will clone the repo and the `decrypt_files` method on `Encryption` will decrypt the repo for you. Assign the return values to `storage` and `encrypt`, which we'll need later when we re-encrypt: ```ruby -irb(main):006:0> storage = Match::Storage.for_mode("git", { git_url: git_url, shallow_clone: shallow_clone, git_branch: branch, clone_branch_directly: false}) +irb(main):006:0> storage = Match::Storage.from_params({storage_mode: "git", git_url: git_url, shallow_clone: shallow_clone, git_branch: branch, clone_branch_directly: false}) irb(main):007:0> storage.download irb(main):008:0> encryption = Match::Encryption.for_storage_mode("git", { git_url: git_url, working_directory: storage.working_directory}) irb(main):009:0> encryption.decrypt_files