fix paths + add diagnostic output on failure (#4231)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
This commit is contained in:
parent
aec83d672b
commit
42e91a5c91
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user