mirror of
https://github.com/azure/login.git
synced 2026-06-08 06:17:08 +00:00
added log in ServicePrincipalLogin
This commit is contained in:
parent
7c947326c2
commit
28f29173ac
2 changed files with 2 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ class ServicePrincipalLogin {
|
|||
if (!(Constants_1.default.Success in result)) {
|
||||
throw new Error(`Azure PowerShell login failed with error: ${result[Constants_1.default.Error]}`);
|
||||
}
|
||||
console.log(`Azure PowerShell session successfully initialized`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ export class ServicePrincipalLogin implements IAzurePowerShellSession {
|
|||
if (!(Constants.Success in result)) {
|
||||
throw new Error(`Azure PowerShell login failed with error: ${result[Constants.Error]}`);
|
||||
}
|
||||
console.log(`Azure PowerShell session successfully initialized`);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue