fix check for uri scheme
This commit is contained in:
parent
e057a5a903
commit
9b1c461d82
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
|
|||
|
||||
public normalizePath(resource: Uri): string | null {
|
||||
if (this._apiVersion.gte(API.v213)) {
|
||||
if (resource.scheme !== 'file') {
|
||||
if (resource.scheme == 'untitled') {
|
||||
const dirName = path.dirname(resource.path)
|
||||
const fileName = this.inMemoryResourcePrefix + path.basename(resource.path)
|
||||
return resource
|
||||
|
|
Loading…
Reference in a new issue