From 2de322e02ed920e34753b52b79a1611d3372e120 Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Mon, 9 Jan 2023 14:27:46 -0800 Subject: [PATCH] fix paths + add diagnostic output on failure --- eng/common/scripts/job-matrix/job-matrix-functions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/job-matrix/job-matrix-functions.ps1 b/eng/common/scripts/job-matrix/job-matrix-functions.ps1 index 0926185910b40..fa8a1da2d09f0 100644 --- a/eng/common/scripts/job-matrix/job-matrix-functions.ps1 +++ b/eng/common/scripts/job-matrix/job-matrix-functions.ps1 @@ -380,7 +380,7 @@ function ProcessImport([MatrixParameter[]]$matrix, [String]$selection, [Array]$n } if (!(Test-Path $importPath)) { - Write-Error "`$IMPORT path '$importPath' does not exist." + Write-Error "`$IMPORT path '$importPath' does not exist. Current dir: $(Get-Location)" exit 1 } $importedMatrixConfig = GetMatrixConfigFromFile (Get-Content -Raw $importPath)