Skip to content

Commit 1d3a521

Browse files
author
Akash Satheesan
committed
fix: use rm -rf for node_modules.asar
1 parent c8cac93 commit 1d3a521

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/build/npm-postinstall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ main() {
7575

7676
# This is a copy of symlink_asar in ../lib.sh. Look there for details.
7777
symlink_asar() {
78-
rm -f node_modules.asar
78+
rm -rf node_modules.asar
7979
if [ "${WINDIR-}" ]; then
8080
mklink /J node_modules.asar node_modules
8181
else

ci/lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RELEASE_PATH="${RELEASE_PATH-release}"
113113
# Code itself but also extensions will look specifically in this directory for
114114
# files (like the ripgrep binary or the oniguruma wasm).
115115
symlink_asar() {
116-
rm -f node_modules.asar
116+
rm -rf node_modules.asar
117117
if [ "${WINDIR-}" ]; then
118118
# mklink takes the link name first.
119119
mklink /J node_modules.asar node_modules

0 commit comments

Comments
 (0)