mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-30 14:09:33 +02:00
fix: fix execution order in removeCache
This commit is contained in:
1 parent
ca3996775b
commit
3cbf78beb8
1 file changed
+1
-1
@@ -456,7 +456,7 @@ export default class Repository {
|
||||
.startSpan("Repository.removeCache");
|
||||
span.setAttribute("repoId", this.repoId);
|
||||
try {
|
||||
return storage.rm(this.repoId);
|
||||
await storage.rm(this.repoId);
|
||||
} finally {
|
||||
this.model.isReseted = true;
|
||||
await this.model.save();
|
||||
|
||||
Reference in new issue
Block a user