Skip to content

Commit 71d1dc0

Browse files
danieljurekazure-sdk
authored andcommitted
Paths
1 parent 823a747 commit 71d1dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/common/scripts/Set-VcpkgWriteModeCache.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ param(
44
[string] $StorageContainerName = 'public-vcpkg-container'
55
)
66

7-
. "$PSScriptRoot/../common/scripts/Helpers/PSModule-Helpers.ps1"
7+
. "$PSScriptRoot/Helpers/PSModule-Helpers.ps1"
88

99
Write-Host "`$env:PSModulePath = $($env:PSModulePath)"
1010

@@ -20,7 +20,7 @@ else {
2020
$modulePaths = $env:PSModulePath -split $moduleSeperator
2121
$modulePaths = $modulePaths.Where({ !$_.StartsWith($hostedAgentModulePath) })
2222
$AzModuleCachePath = (Get-ChildItem "$hostedAgentModulePath/az_*" -Attributes Directory) -join $moduleSeperator
23-
if ($AzModuleCachePath -and $env.PSModulePath -notcontains $AzModuleCachePath) {
23+
if ($AzModuleCachePath -and $env:PSModulePath -notcontains $AzModuleCachePath) {
2424
$modulePaths += $AzModuleCachePath
2525
}
2626

0 commit comments

Comments
 (0)