mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix: add missing await
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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