From 454bf5bdce18028078c8bea06065aa58302ef080 Mon Sep 17 00:00:00 2001 From: Joel Kuntz Date: Thu, 7 Dec 2017 08:53:05 -0400 Subject: [PATCH] Fix #39867 fix git popStash type check --- extensions/git/src/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/git/src/git.ts b/extensions/git/src/git.ts index 924bf549ec0..17e6cd29942 100644 --- a/extensions/git/src/git.ts +++ b/extensions/git/src/git.ts @@ -977,7 +977,7 @@ export class Repository { try { const args = ['stash', 'pop']; - if (typeof index === 'string') { + if (typeof index === 'number') { args.push(`stash@{${index}}`); }