mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
check for workspace.rootPath, fixes #5900
This commit is contained in:
parent
c8783f311e
commit
7f7c50af30
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue