mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Don't send git resources to tsserver
This commit is contained in:
@@ -627,6 +627,10 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
// Both \ and / must be escaped in regular expressions
|
||||
return result.replace(new RegExp('\\' + this.pathSeparator, 'g'), '/');
|
||||
}
|
||||
case fileSchemes.git:
|
||||
{
|
||||
return undefined;
|
||||
}
|
||||
default:
|
||||
{
|
||||
return this.inMemoryResourcePrefix + resource.toString(true);
|
||||
|
||||
Reference in New Issue
Block a user