We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb8173 commit 88a2cc5Copy full SHA for 88a2cc5
tools/Test/SmokeTest/InstallAzModules.ps1
@@ -45,7 +45,7 @@ Install-Module -Name Az -Repository $gallery -Scope CurrentUser -AllowClobber -F
45
46
$file = Get-ChildItem $localRepoLocation | Where-Object {$_.Name -like "ThreadJob*"}
47
$installedModule = Get-Module -ListAVailable -Name ThreadJob
48
-if ($file -ne $null -and $installedModule -ne $null) {
+if ($file -ne $null -and $installedModule -eq $null) {
49
Write-Host "Install ThreadJob..."
50
Install-Module -Name ThreadJob -Repository $gallery -Scope CurrentUser -AllowClobber -Force
51
}
0 commit comments