From e0e1bfc251ff4300d8416b12a328b0bb8e0f28fe Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 3 Feb 2021 14:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=93=E5=8C=85=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=9A=84=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boundle.sh b/boundle.sh index b0d2f0f..86f2736 100755 --- a/boundle.sh +++ b/boundle.sh @@ -5,7 +5,7 @@ if [ ! -d $module_path ]; then mkdir -p $module_path fi module_sub_path=$module_path"/node_modules" -#if [ ! -d $module_sub_path ]; then +if [ ! -d $module_sub_path ]; then npm install --prefer-offline --loglevel info --unsafe-perm=true --allow-root >> boundle.log echo 'copy node_modules to /data/publish/node_packages' >> boundle.log cp -r node_modules $module_sub_path