From e3e588e2ece5e3fa546927173e5a2d8fb9791aa7 Mon Sep 17 00:00:00 2001
From: prsabahrami
Date: Wed, 27 Nov 2024 12:53:39 -0500
Subject: [PATCH] Fix args issue on windows
---
src/header.ps1 | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/header.ps1 b/src/header.ps1
index 250bbba..657ab3a 100644
--- a/src/header.ps1
+++ b/src/header.ps1
@@ -87,10 +87,7 @@ $arguments += $args -join ' '
# Add the path to the archive
$arguments += $archivePath
-# DEBUG
-Write-Output $arguments
-
-& $pixiPackPath @arguments
+& $pixiPackPath $($arguments -join ' ')
if ($LASTEXITCODE -ne 0) {
Remove-Item -Path $TEMPDIR -Recurse -Force
exit $LASTEXITCODE