提交 302533f6 编写于 作者: J Johannes Rieken

strict null trouble

上级 a5f1ac75
......@@ -94,7 +94,7 @@ registerLanguageCommand('_executeCodeInsetProvider', function (accessor, args) {
result.push(item.symbol);
} else if (itemResolveCount-- > 0) {
resolve.push(Promise.resolve(item.provider.resolveCodeInset(model, item.symbol, CancellationToken.None))
.then(symbol => result.push(symbol)));
.then(symbol => result.push(symbol || item.symbol)));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册