JavaScript 通知文件 tunnel 替换为 hpagent,移除 scripts 目录下 package.json

This commit is contained in:
whyour
2023-12-24 14:30:56 +08:00
parent d2cf482d11
commit 563457cf1b
7 changed files with 61 additions and 75 deletions
-5
View File
@@ -300,11 +300,6 @@ update_qinglong_static() {
check_update_dep() {
echo -e "\n开始检测依赖...\n"
if [[ ! -s $dir_scripts/package.json ]] || [[ $(diff $dir_sample/package.json $dir_scripts/package.json) ]]; then
cp -f $dir_sample/package.json $dir_scripts/package.json
npm_install_2 $dir_scripts
fi
if [[ $(diff $dir_root/package.json ${dir_tmp}/qinglong-${primary_branch}/package.json) ]]; then
npm_install_2 "${dir_tmp}/qinglong-${primary_branch}"
fi