mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-30 22:09:35 +02:00
fix: add missing await
This commit is contained in:
1 parent
35f4b4ce52
commit
4881719160
2 files changed
+3
-2
No files matched your search
@@ -205,7 +205,7 @@ export default class AnonymizedFile {
|
||||
}
|
||||
const out = await this.repository.source?.getFileContent(this);
|
||||
this.repository.model.isReseted = false;
|
||||
this.repository.updateStatus(RepositoryStatus.READY);
|
||||
await this.repository.updateStatus(RepositoryStatus.READY);
|
||||
return out;
|
||||
} finally {
|
||||
span.end();
|
||||
|
||||
+2
-1
@@ -163,7 +163,8 @@ export default class PullRequest {
|
||||
if (this.status === RepositoryStatus.READY) return;
|
||||
await this.updateStatus(RepositoryStatus.PREPARING);
|
||||
await this.updateIfNeeded({ force: true });
|
||||
return this.updateStatus(RepositoryStatus.READY);
|
||||
await this.updateStatus(RepositoryStatus.READY);
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user