mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Also route stdlib files through TS Server virtual file system (#172857)
This workaround doesn't seem to be needed any more
This commit is contained in:
@@ -171,7 +171,7 @@ function createServerHost(extensionUri: URI, logger: ts.server.Logger, apiClient
|
||||
readFile(path) {
|
||||
logVerbose('fs.readFile', { path });
|
||||
|
||||
if (!fs || path.startsWith('/lib.')) {
|
||||
if (!fs) {
|
||||
const webPath = getWebPath(path);
|
||||
if (webPath) {
|
||||
const request = new XMLHttpRequest();
|
||||
|
||||
Reference in New Issue
Block a user