mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-14 00:07:00 +01:00
feat: include public GitHub submodules in shared repositories (#914)
* feat: include public GitHub submodules in shared repositories * fix: preserve submodule access across token and document contexts
This commit is contained in:
1 parent
6099356e0e
commit
d0b217a448
17 files changed
+617
-87
No files matched your search
@@ -25,7 +25,7 @@ describe("ZIP proxy failures", function () {
|
||||
utils.getUser = async () => { throw new Error("anonymous"); };
|
||||
utils.getRepo = async () => ({ repoId: "test", options: {},
|
||||
model: { source: { repositoryName: "owner/repo", commit: "abc" } },
|
||||
countView: async () => {}, getToken: async () => "",
|
||||
countView: async () => {}, submoduleMounts: async () => [], getToken: async () => "",
|
||||
generateAnonymizeTransformer: () => ({ opt: {} }),
|
||||
});
|
||||
upstream = new PassThrough();
|
||||
|
||||
Reference in new issue
Block a user