From 6ccbe374d8f8dc5267968c5d6eaccb26aef0a3ac Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 9 Jan 2021 19:19:17 -0500 Subject: [PATCH] checkPlugin: Don't nuke `node_modules/` `git add -A` will ignore `node_modules/` because it's in `.gitignore`. --- bin/plugins/checkPlugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/plugins/checkPlugin.js b/bin/plugins/checkPlugin.js index badaa6f3a..16a2b0994 100755 --- a/bin/plugins/checkPlugin.js +++ b/bin/plugins/checkPlugin.js @@ -447,7 +447,6 @@ fs.readdir(pluginPath, (err, rootFiles) => { 'git diff-files --quiet && [ -z "$untracked" ] && echo true || echo false')); if (!unchanged) { const cmd = [ - 'git rm -rf node_modules --ignore-unmatch', 'git add -A', 'git commit -m "autofixes from Etherpad checkPlugin.js"', 'git push',