From b015d5268b4a6796ea97ea5ac889ab6aa5a2cdf9 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Tue, 20 May 2025 16:58:13 -0400 Subject: [PATCH 1/2] Use correct leading slash in common.ps1 repo root resolution --- eng/common/scripts/common.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/common.ps1 b/eng/common/scripts/common.ps1 index f8fda7e06e6..36b55aafd70 100644 --- a/eng/common/scripts/common.ps1 +++ b/eng/common/scripts/common.ps1 @@ -1,6 +1,6 @@ # cSpell:ignore Apireview # cSpell:ignore Onboarded -$RepoRoot = Resolve-Path "${PSScriptRoot}..\..\..\.." +$RepoRoot = Resolve-Path "${PSScriptRoot}/../../../" $EngDir = Join-Path $RepoRoot "eng" $EngCommonDir = Join-Path $EngDir "common" $EngCommonScriptsDir = Join-Path $EngCommonDir "scripts" From f3629d90cc1de2f0ec76adb7f2356be6259d51e5 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Mon, 2 Jun 2025 19:06:08 -0400 Subject: [PATCH 2/2] Update eng/common/scripts/common.ps1 Co-authored-by: Wes Haggard --- eng/common/scripts/common.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/common.ps1 b/eng/common/scripts/common.ps1 index 36b55aafd70..6bef283e449 100644 --- a/eng/common/scripts/common.ps1 +++ b/eng/common/scripts/common.ps1 @@ -1,6 +1,6 @@ # cSpell:ignore Apireview # cSpell:ignore Onboarded -$RepoRoot = Resolve-Path "${PSScriptRoot}/../../../" +$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot .. .. ..) $EngDir = Join-Path $RepoRoot "eng" $EngCommonDir = Join-Path $EngDir "common" $EngCommonScriptsDir = Join-Path $EngCommonDir "scripts"