make SourceControlResourceState.command optional

This commit is contained in:
Joao Moreno
2017-03-30 16:15:44 +02:00
parent 8060f655e5
commit c2b0ea9193
4 changed files with 7 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ class MainThreadSCMResource implements ISCMResource {
private groupHandle: number,
private handle: number,
public sourceUri: URI,
public command: Command,
public command: Command | undefined,
public resourceGroup: ISCMResourceGroup,
public decorations
) { }