From 102b25d9720b03e2fafdc310e22f677318ba0e39 Mon Sep 17 00:00:00 2001 From: "Bobby Abellana (aider)" Date: Fri, 21 Feb 2025 10:29:17 -0800 Subject: [PATCH] fix: Correct variable reference in error message for OpenXml module installation --- Install-Dependencies.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install-Dependencies.ps1 b/Install-Dependencies.ps1 index 987d79e..d4de83d 100644 --- a/Install-Dependencies.ps1 +++ b/Install-Dependencies.ps1 @@ -43,7 +43,7 @@ if (-not (Get-Module -ListAvailable -Name DocumentFormat.OpenXml)) { Write-Host "DocumentFormat.OpenXml module installed successfully" -ForegroundColor Green } catch { - Write-Host "Failed to install DocumentFormat.OpenXml module: ${_}" -ForegroundColor Red + Write-Host "Failed to install $module: ${_}" -ForegroundColor Red Write-Host "You may need to install the Open XML SDK manually." -ForegroundColor Yellow # Do not exit, as the application might still work if the assembly is in the GAC or a known path }