зеркало из https://github.com/Azure/ms-rest-js.git
assigning baseUri based on the options
This commit is contained in:
Родитель
c0c10f4b8d
Коммит
9f57b8ded3
|
@ -190,6 +190,10 @@ export class ServiceClient {
|
|||
options = {};
|
||||
}
|
||||
|
||||
if (options.baseUri) {
|
||||
this.baseUri = options.baseUri;
|
||||
}
|
||||
|
||||
let serviceClientCredentials: ServiceClientCredentials | undefined;
|
||||
if (isTokenCredential(credentials)) {
|
||||
serviceClientCredentials = new AzureIdentityCredentialAdapter(
|
||||
|
|
Загрузка…
Ссылка в новой задаче