Fix getting output

This commit is contained in:
lawrencegripper
2024-12-04 11:55:32 +00:00
parent 18efc23fe3
commit 0fae0a3b0b

View File

@@ -132,7 +132,8 @@ function Install-Binary {
Write-Host "Searching for logs maching $InstallerLogPath pattern"
Get-ChildItem -Recurse -Path $InstallerLogPath | ForEach-Object {
Write-Output "Found Installer Log: $InstallerLogPath"
Get-Content -Path $InstallerLogPath
Write-Output "File content:"
Get-Content -Path $_.FullName
}
}
exit $exitCode