Update images/windows/scripts/helpers/InstallHelpers.ps1

This commit is contained in:
Lawrence Gripper
2024-12-03 09:45:08 +00:00
committed by GitHub
parent 4e756696cb
commit 692b6af2e9

View File

@@ -128,7 +128,7 @@ function Install-Binary {
Write-Host "Installation process returned unexpected exit code: $exitCode"
Write-Host "Time elapsed: $installCompleteTime seconds"
if ($InstallerLogPath -and (Test-Path -Path $InstallerLogPath)) {
if ($InstallerLogPath) {
Write-Host "Searching for logs maching $InstallerLogPath pattern"
Get-ChildItem -Path $InstallerLogPath | ForEach-Object {
Write-Output "Found Installer Log: $InstallerLogPath"