There was an error while loading. Please reload this page.
1 parent 7565e81 commit 91e7f61Copy full SHA for 91e7f61
1 file changed
public/install.ps1
@@ -222,8 +222,7 @@ function Install-PortableNode {
222
throw "Node.js archive did not contain node.exe."
223
}
224
225
- New-Item -ItemType Directory -Force -Path $portableRoot | Out-Null
226
- Move-Item -Path (Join-Path $nodeDir.FullName "*") -Destination $portableRoot -Force
+ Move-Item -LiteralPath $nodeDir.FullName -Destination $portableRoot -Force
227
} finally {
228
if (Test-Path $tmpZip) {
229
Remove-Item -Force $tmpZip
0 commit comments