From ba076500a8bbd449d59cbee24af45b43c3854887 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Wed, 19 Sep 2018 11:38:49 +0200 Subject: [PATCH] missing await --- extensions/git/src/git.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/git/src/git.ts b/extensions/git/src/git.ts index 1de38653db4..bd0e4d9f576 100644 --- a/extensions/git/src/git.ts +++ b/extensions/git/src/git.ts @@ -1267,12 +1267,12 @@ export class Repository { async popStash(index?: number): Promise { const args = ['stash', 'pop']; - this.popOrApplyStash(args, index); + await this.popOrApplyStash(args, index); } async applyStash(index?: number): Promise { const args = ['stash', 'apply']; - this.popOrApplyStash(args, index); + await this.popOrApplyStash(args, index); } private async popOrApplyStash(args: string[], index?: number): Promise { @@ -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();