mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-07 14:17:51 +02:00
do not download the repository after an update
This commit is contained in:
+2
-1
@@ -43,8 +43,9 @@ async function anonymizeRepository(options) {
|
|||||||
console.error(repoConfig.repoId, req.path, error);
|
console.error(repoConfig.repoId, req.path, error);
|
||||||
}
|
}
|
||||||
await repoUtils.updateAnonymizedRepository(repoConfig);
|
await repoUtils.updateAnonymizedRepository(repoConfig);
|
||||||
|
} else {
|
||||||
|
await githubUtils.downloadRepoAndAnonymize(repoConfig);
|
||||||
}
|
}
|
||||||
await githubUtils.downloadRepoAndAnonymize(repoConfig);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
router.get("/:repoId/files", async (req, res) => {
|
router.get("/:repoId/files", async (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user