From 8b4bc8f502a1ddcf0c5bbbc8ce34f51c11e36d77 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 f8fda7e06e..36b55aafd7 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 f8cce6d93486094452f74b70fd45029460595dd0 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 36b55aafd7..6bef283e44 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"