提交 7f7c50af 编写于 作者: J Johannes Rieken

check for workspace.rootPath, fixes #5900

上级 c8783f31
......@@ -75,7 +75,7 @@ export function create(client: ITypescriptServiceClient, isOpen:(path:string)=>P
return;
}
if (!configFileName) {
if (!configFileName && vscode.workspace.rootPath) {
exists(join(vscode.workspace.rootPath, 'jsconfig.json'), exists => {
// don't hint if there is a global jsconfig-file. We can get here due
// to TypeScript bugs or jsconfig configurations
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册