Typo fix: `checkPlugins.js` -> `checkPlugin.js`

pull/4640/head
Richard Hansen 2021-01-08 18:49:30 -05:00
parent 44118c0e7b
commit a55dd73f2b
3 changed files with 7 additions and 7 deletions

View File

@ -40,7 +40,7 @@
content in `.etherpad` exports content in `.etherpad` exports
* New `expressCloseServer` hook to close Express when required * New `expressCloseServer` hook to close Express when required
* The `padUpdate` hook context now includes `revs` and `changeset` * The `padUpdate` hook context now includes `revs` and `changeset`
* `checkPlugins.js` has various improvements to help plugin developers * `checkPlugin.js` has various improvements to help plugin developers
* The HTTP request object (and therefore the express-session state) is now * The HTTP request object (and therefore the express-session state) is now
accessible from within most `eejsBlock_*` hooks accessible from within most `eejsBlock_*` hooks
* Users without a `password` or `hash` property in `settings.json` are no longer * Users without a `password` or `hash` property in `settings.json` are no longer

View File

@ -15,12 +15,12 @@ node bin/plugins/checkPlugin.js ep_webrtc
## Autofixing - will autofix any issues it can ## Autofixing - will autofix any issues it can
``` ```
node bin/plugins/checkPlugins.js ep_whatever autofix node bin/plugins/checkPlugin.js ep_whatever autofix
``` ```
## Autocommitting, push, npm minor patch and npm publish (highly dangerous) ## Autocommitting, push, npm minor patch and npm publish (highly dangerous)
``` ```
node bin/plugins/checkPlugins.js ep_whatever autofix autocommit node bin/plugins/checkPlugin.js ep_whatever autofix autocommit
``` ```
# All the plugins # All the plugins

View File

@ -4,10 +4,10 @@
* *
* Usage -- see README.md * Usage -- see README.md
* *
* Normal usage: node bin/plugins/checkPlugins.js ep_whatever * Normal usage: node bin/plugins/checkPlugin.js ep_whatever
* Auto fix the things it can: node bin/plugins/checkPlugins.js ep_whatever autofix * Auto fix the things it can: node bin/plugins/checkPlugin.js ep_whatever autofix
* Auto commit, push and publish(to npm) * highly dangerous: * Auto commit, push and publish(to npm) * highly dangerous:
node bin/plugins/checkPlugins.js ep_whatever autofix autocommit node bin/plugins/checkPlugin.js ep_whatever autofix autocommit
*/ */
@ -459,7 +459,7 @@ fs.readdir(pluginPath, (err, rootFiles) => {
`cd node_modules/${pluginName}`, `cd node_modules/${pluginName}`,
'git rm -rf node_modules --ignore-unmatch', 'git rm -rf node_modules --ignore-unmatch',
'git add -A', 'git add -A',
'git commit --allow-empty -m "autofixes from Etherpad checkPlugins.js"', 'git commit --allow-empty -m "autofixes from Etherpad checkPlugin.js"',
'git push', 'git push',
'cd ../..', 'cd ../..',
].join(' && '); ].join(' && ');