fix repository update

This commit is contained in:
tdurieux
2021-04-24 14:36:58 +02:00
parent 6eef01f541
commit 1d35de878d

View File

@@ -325,6 +325,7 @@ module.exports.updateAnonymizedRepository = async (repoConfig) => {
console.log(`${repoConfig.repoId} is up to date`);
return true;
}
repoConfig.commit = commit;
console.log(`${repoConfig.repoId} will be updated to ${commit}`);
await module.exports.updateStatus(repoConfig, "updating");
await db