diff --git a/Jenkinsfile b/Jenkinsfile index c9b0b39..731d6a7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,13 +22,7 @@ pipeline { sh ''' rm -rf node_modules package-lock.json npm config set registry https://registry.npmmirror.com - - # 检查并移除恶意依赖 - if grep -q "vab-contextmenu" package.json; then - echo "发现恶意依赖vab-contextmenu,正在移除..." - npm uninstall vab-contextmenu - fi - + # 安装其他依赖 npm install '''