This commit is contained in:
Johannes Rieken
2018-01-31 09:39:27 +01:00
parent 8348e8f784
commit d348b1e41a
@@ -167,7 +167,7 @@ class SnippetsService implements ISnippetsService {
this._files.get(contribution.path).defaultScopes.push(contribution.language);
} else {
const file = new SnippetFile(contribution.path, [contribution.language], extension.description);
const file = new SnippetFile(contribution.path, contribution.language ? [contribution.language] : undefined, extension.description);
this._files.set(file.filepath, file);
if (this._environmentService.isExtensionDevelopment) {