do not download the repository after an update

This commit is contained in:
tdurieux
2021-04-27 09:22:17 +02:00
parent bed2671a73
commit 07b82b078b

View File

@@ -43,8 +43,9 @@ async function anonymizeRepository(options) {
console.error(repoConfig.repoId, req.path, error);
}
await repoUtils.updateAnonymizedRepository(repoConfig);
} else {
await githubUtils.downloadRepoAndAnonymize(repoConfig);
}
await githubUtils.downloadRepoAndAnonymize(repoConfig);
}
router.get("/:repoId/files", async (req, res) => {