Skip to content

Commit 37df525

Browse files
Force deletion to prevent warning/error message (#350)
Signed-off-by: Param Siddharth <[email protected]> Signed-off-by: Param Siddharth <[email protected]>
1 parent 300e9c8 commit 37df525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/metacall-environment.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function sub-nodejs {
273273
# Install runtime
274274
Expand-Archive -Path "node.zip" -DestinationPath $RuntimeDir
275275
robocopy /move /e "$RuntimeDir\node-v$NodeVersion-win-x64" "$RuntimeDir" /NFL /NDL /NJH /NJS /NC /NS /NP
276-
rd "$RuntimeDir\node-v$NodeVersion-win-x64"
276+
rd -Recurse -Force "$RuntimeDir\node-v$NodeVersion-win-x64"
277277

278278
Add-to-Path $RuntimeDir
279279

0 commit comments

Comments
 (0)