remove URI usage from SCM API protocol

related to #40169
This commit is contained in:
Joao Moreno
2017-12-14 15:06:32 +01:00
parent b7fad651ac
commit 35730c44b4
3 changed files with 9 additions and 10 deletions

View File

@@ -241,7 +241,8 @@ class MainThreadSCMProvider implements ISCMProvider {
return TPromise.as(null);
}
return this.proxy.$provideOriginalResource(this.handle, uri);
return this.proxy.$provideOriginalResource(this.handle, uri.toString())
.then(result => result && URI.parse(result));
}
toJSON(): any {