checkPlugin: Don't nuke `node_modules/`
`git add -A` will ignore `node_modules/` because it's in `.gitignore`.image-example
parent
5f2aaea255
commit
6ccbe374d8
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue