Fix #39867 fix git popStash type check

This commit is contained in:
Joel Kuntz
2017-12-07 08:53:05 -04:00
parent 51e5dfda25
commit 454bf5bdce

View File

@@ -977,7 +977,7 @@ export class Repository {
try {
const args = ['stash', 'pop'];
if (typeof index === 'string') {
if (typeof index === 'number') {
args.push(`stash@{${index}}`);
}