checkPlugin: Don't nuke `node_modules/`

`git add -A` will ignore `node_modules/` because it's in `.gitignore`.
image-example
Richard Hansen 2021-01-09 19:19:17 -05:00 committed by John McLear
parent 5f2aaea255
commit 6ccbe374d8
1 changed files with 0 additions and 1 deletions

View File

@ -447,7 +447,6 @@ fs.readdir(pluginPath, (err, rootFiles) => {
'git diff-files --quiet && [ -z "$untracked" ] && echo true || echo false')); 'git diff-files --quiet && [ -z "$untracked" ] && echo true || echo false'));
if (!unchanged) { if (!unchanged) {
const cmd = [ const cmd = [
'git rm -rf node_modules --ignore-unmatch',
'git add -A', 'git add -A',
'git commit -m "autofixes from Etherpad checkPlugin.js"', 'git commit -m "autofixes from Etherpad checkPlugin.js"',
'git push', 'git push',