Skip to content

Commit

Permalink
fix paths + add diagnostic output on failure (#19778)
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
  • Loading branch information
azure-sdk and Konrad Jamrozik authored Jan 10, 2023
1 parent 129a871 commit 6c33f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/job-matrix/job-matrix-functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c33f94

Please sign in to comment.