提交 6c0c26b9 编写于 作者: J Johannes Rieken

be aware that 'asAbsolutePath' might be 'null', fixes #8793

上级 33444b07
......@@ -61,6 +61,9 @@ export function create(client: ITypescriptServiceClient, isOpen:(path:string)=>P
}
const file = client.asAbsolutePath(editor.document.uri);
if (!file) {
return;
}
isOpen(file).then(value => {
if (!value) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册