From 476acd653a99df088551b36d90f23a3f730145f8 Mon Sep 17 00:00:00 2001 From: Kevin Mas Ruiz Date: Mon, 4 Dec 2023 13:00:05 +0100 Subject: [PATCH] chore: force to use MPA/Expand-Archive, might use different modules in diff versions --- .evergreen/InstallNode.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.evergreen/InstallNode.ps1 b/.evergreen/InstallNode.ps1 index d8c316983..1478550b4 100644 --- a/.evergreen/InstallNode.ps1 +++ b/.evergreen/InstallNode.ps1 @@ -14,7 +14,8 @@ $wc.DownloadFile($url, $node_zip) Write-Output "$filename downloaded" Write-Output "Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)" -Expand-Archive $node_zip -DestinationPath $PSScriptRoot +# https://github.com/PowerShell/Microsoft.PowerShell.Archive/issues/52 +Microsoft.PowerShell.Archive\Expand-Archive $node_zip -DestinationPath $PSScriptRoot Get-ChildItem -Path $PSScriptRoot Set-Location -Path $node_dir