Skip to content

Commit

Permalink
get rid of a relative path from repo root when we cnan simply go rela…
Browse files Browse the repository at this point in the history
…tive to the PSScriptRoot directly
  • Loading branch information
scbedd authored and azure-sdk committed Oct 10, 2024
1 parent 568d0d9 commit b2734e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/scripts/Helpers/Package-Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function CompatibleConvertFrom-Yaml {
# Initialize any variables or checks that need to be done once
$yqPresent = Get-Command 'yq' -ErrorAction SilentlyContinue
if (-not $yqPresent) {
. (Join-Path $PSScriptRoot "../../../../eng/common/scripts/Helpers" PSModule-Helpers.ps1)
. (Join-Path $PSScriptRoot PSModule-Helpers.ps1)
Install-ModuleIfNotInstalled -WhatIf:$false "powershell-yaml" "0.4.1" | Import-Module
}

Expand All @@ -90,4 +90,4 @@ function CompatibleConvertFrom-Yaml {
else {
return ConvertFrom-Yaml $content
}
}
}

0 comments on commit b2734e6

Please sign in to comment.