Skip to content

Commit

Permalink
Merge pull request #39868 from Frozenfire92/popStash-fix
Browse files Browse the repository at this point in the history
Fix #39867 fix git popStash type check
  • Loading branch information
joaomoreno committed Dec 7, 2017
2 parents 4276306 + 454bf5b commit 80a0b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/git/src/git.ts
Expand Up @@ -977,7 +977,7 @@ export class Repository {
try {
const args = ['stash', 'pop'];

if (typeof index === 'string') {
if (typeof index === 'number') {
args.push(`stash@{${index}}`);
}

Expand Down

0 comments on commit 80a0b26

Please sign in to comment.