add vscode.env.remoteAuthority-api, #74188

This commit is contained in:
Johannes Rieken
2019-05-27 11:50:43 +02:00
parent a00a9a2945
commit 6a1574e21e
2 changed files with 13 additions and 1 deletions

View File

@@ -256,7 +256,8 @@ export function createApiFactory(
},
openExternal(uri: URI) {
return extHostWindow.openUri(uri, { allowTunneling: !!initData.remoteAuthority });
}
},
get remoteAuthority() { return initData.remoteAuthority || undefined; }
});
// namespace: extensions