From 0c02ecc79c8c7c6bb243ceeb8319e351ef342260 Mon Sep 17 00:00:00 2001 From: cyl19970726 <15258378443@163.com> Date: Sun, 26 Feb 2023 18:22:26 +0800 Subject: [PATCH] add repository access control --- src/git-remote-git3/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/git-remote-git3/index.ts b/src/git-remote-git3/index.ts index 91a0e38..301f4ff 100644 --- a/src/git-remote-git3/index.ts +++ b/src/git-remote-git3/index.ts @@ -11,6 +11,7 @@ GitRemoteHelper({ api: { init: async (p: ApiBaseParams) => { const protocol = await parseGit3URI(p.remoteUrl) + // init storage according to the protocol const storage = new protocol.storageClass(protocol) git = new Git(p, storage) return