fix checkout branchs/tags

This commit is contained in:
Joao Moreno
2017-01-31 16:00:55 +01:00
parent 7e26f84d30
commit 5f5de2bb1f
+1 -1
View File
@@ -381,7 +381,7 @@ export class CommandCenter {
@CommandCenter.CatchErrors
async checkout(): Promise<void> {
const config = workspace.getConfiguration('git');
const checkoutType = config.get<string>('checkoutType');
const checkoutType = config.get<string>('checkoutType') || 'all';
const includeTags = checkoutType === 'all' || checkoutType === 'tags';
const includeRemotes = checkoutType === 'all' || checkoutType === 'remote';