Skip to content

Commit 88a2cc5

Browse files
authored
Fix daily smoke test error of ThreadJob installation (#20856)
1 parent 7cb8173 commit 88a2cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/Test/SmokeTest/InstallAzModules.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Install-Module -Name Az -Repository $gallery -Scope CurrentUser -AllowClobber -F
4545

4646
$file = Get-ChildItem $localRepoLocation | Where-Object {$_.Name -like "ThreadJob*"}
4747
$installedModule = Get-Module -ListAVailable -Name ThreadJob
48-
if ($file -ne $null -and $installedModule -ne $null) {
48+
if ($file -ne $null -and $installedModule -eq $null) {
4949
Write-Host "Install ThreadJob..."
5050
Install-Module -Name ThreadJob -Repository $gallery -Scope CurrentUser -AllowClobber -Force
5151
}

0 commit comments

Comments
 (0)