Skip to content

Commit 21aa557

Browse files
authored
Move the artifact path to the front of PSModulePath (#27655)
1 parent 38e31e8 commit 21aa557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/RunVersionController.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function Bump-AzVersion
274274
# Add artifacts as PSModulePath to skip installation
275275
if(!($env:PSModulePath.Split(";").Contains($resolvedArtifactsOutputPath)))
276276
{
277-
$env:PSModulePath += ";$resolvedArtifactsOutputPath"
277+
$env:PSModulePath = "$resolvedArtifactsOutputPath;" + $env:PSModulePath
278278
}
279279

280280
Update-ModuleManifest -Path "$PSScriptRoot\Az\Az.psd1" -ModuleVersion $newVersion -ReleaseNotes $releaseNotes

0 commit comments

Comments
 (0)