From 692b6af2e9d10c0cfb64725f16a919bf574446af Mon Sep 17 00:00:00 2001 From: Lawrence Gripper Date: Tue, 3 Dec 2024 09:45:08 +0000 Subject: [PATCH] Update images/windows/scripts/helpers/InstallHelpers.ps1 --- images/windows/scripts/helpers/InstallHelpers.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/windows/scripts/helpers/InstallHelpers.ps1 b/images/windows/scripts/helpers/InstallHelpers.ps1 index fa65a9dac..da5c37fce 100644 --- a/images/windows/scripts/helpers/InstallHelpers.ps1 +++ b/images/windows/scripts/helpers/InstallHelpers.ps1 @@ -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"