Hides remote commands when there are no remotes

This commit is contained in:
Eric Amodio
2017-03-24 11:41:20 -04:00
parent a90d3f98de
commit e906bfcb9e
3 changed files with 15 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ export type CommandContext = 'gitlens:canToggleCodeLens' | 'gitlens:enabled' | '
export const CommandContext = {
CanToggleCodeLens: 'gitlens:canToggleCodeLens' as CommandContext,
Enabled: 'gitlens:enabled' as CommandContext,
HasRemotes: 'gitlens:hasRemotes' as CommandContext,
IsBlameable: 'gitlens:isBlameable' as CommandContext,
Key: 'gitlens:key' as CommandContext
};