Update typescriptServiceClient.ts (#360)
This commit is contained in:
parent
6d598560c6
commit
c5d9e07d3c
1 changed files with 3 additions and 0 deletions
|
@ -431,6 +431,9 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
|
|||
}
|
||||
|
||||
public toResource(filepath: string): string {
|
||||
if (filepath.includes('zipfile:')) {
|
||||
return filepath.replace(/.*zipfile:/, 'zipfile://');
|
||||
}
|
||||
if (this._apiVersion.gte(API.v213)) {
|
||||
if (filepath.startsWith(this.inMemoryResourcePrefix + 'untitled:')) {
|
||||
let resource = Uri.parse(filepath)
|
||||
|
|
Loading…
Reference in a new issue