Use URIs instead of strings while passing environment to Extensionhost

This commit is contained in:
Sandeep Somavarapu
2018-09-05 17:28:50 +02:00
parent e659ffd6ac
commit 546032756a
5 changed files with 23 additions and 14 deletions

View File

@@ -229,7 +229,7 @@ export function createApiFactory(
get sessionId() { return initData.telemetryInfo.sessionId; },
get language() { return platform.language; },
get appName() { return product.nameLong; },
get appRoot() { return initData.environment.appRoot; },
get appRoot() { return initData.environment.appRoot.fsPath; },
get logLevel() {
checkProposedApiEnabled(extension);
return extHostLogService.getLevel();