Skip to content

Commit 21f79e3

Browse files
author
Rajat Agrawal
committed
more feedback
1 parent 5a02192 commit 21f79e3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tasks/Common/VstsAzureHelpers_/InitializeFunctions.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,6 @@ function Disconnect-AzureAndClearContext {
655655
Write-Host "##[command]Logout-AzureRmAccount"
656656
$null = Logout-AzureRmAccount
657657
}
658-
else {
659-
$noCommandMessage = "Unable to find a command to log out of Azure"
660-
Write-Host "##vso[task.logissue type=warning;]$noCommandMessage"
661-
}
662658

663659
if (Get-Command -Name "Clear-AzureRmContext" -ErrorAction "SilentlyContinue") {
664660
Write-Host "##[command]Clear-AzureRmContext -Scope Process"

0 commit comments

Comments
 (0)