mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-25 20:24:04 +00:00
missing await
This commit is contained in:
@@ -1267,12 +1267,12 @@ export class Repository {
|
||||
|
||||
async popStash(index?: number): Promise<void> {
|
||||
const args = ['stash', 'pop'];
|
||||
this.popOrApplyStash(args, index);
|
||||
await this.popOrApplyStash(args, index);
|
||||
}
|
||||
|
||||
async applyStash(index?: number): Promise<void> {
|
||||
const args = ['stash', 'apply'];
|
||||
this.popOrApplyStash(args, index);
|
||||
await this.popOrApplyStash(args, index);
|
||||
}
|
||||
|
||||
private async popOrApplyStash(args: string[], index?: number): Promise<void> {
|
||||
@@ -1293,7 +1293,6 @@ export class Repository {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
getStatus(limit = 5000): Promise<{ status: IFileStatus[]; didHitLimit: boolean; }> {
|
||||
return new Promise<{ status: IFileStatus[]; didHitLimit: boolean; }>((c, e) => {
|
||||
const parser = new GitStatusParser();
|
||||
|
||||
Reference in New Issue
Block a user