Skip to content

Commit

Permalink
Fix daily smoke test error of ThreadJob installation (#20856)
Browse files Browse the repository at this point in the history
  • Loading branch information
msJinLei authored Feb 6, 2023
1 parent 7cb8173 commit 88a2cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Test/SmokeTest/InstallAzModules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Install-Module -Name Az -Repository $gallery -Scope CurrentUser -AllowClobber -F

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

0 comments on commit 88a2cc5

Please sign in to comment.