npe in scm world

fixes #37221
This commit is contained in:
Joao Moreno
2017-11-01 12:00:30 +01:00
parent 93338c61f1
commit cadcedc995
3 changed files with 7 additions and 8 deletions

View File

@@ -191,10 +191,9 @@ class MainThreadSCMProvider implements ISCMProvider {
tooltip,
strikeThrough,
faded,
source,
letter,
color: color.id
color: color && color.id
};
return new MainThreadSCMResource(