diff --git a/CHANGELOG.md b/CHANGELOG.md index b63f571b9..5863b69c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ content in `.etherpad` exports * New `expressCloseServer` hook to close Express when required * 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 accessible from within most `eejsBlock_*` hooks * Users without a `password` or `hash` property in `settings.json` are no longer diff --git a/bin/plugins/README.md b/bin/plugins/README.md index 81d5a4298..fbadf98ca 100755 --- a/bin/plugins/README.md +++ b/bin/plugins/README.md @@ -15,12 +15,12 @@ node bin/plugins/checkPlugin.js ep_webrtc ## 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) ``` -node bin/plugins/checkPlugins.js ep_whatever autofix autocommit +node bin/plugins/checkPlugin.js ep_whatever autofix autocommit ``` # All the plugins diff --git a/bin/plugins/checkPlugin.js b/bin/plugins/checkPlugin.js index ea0e7e2be..5449a2f0e 100755 --- a/bin/plugins/checkPlugin.js +++ b/bin/plugins/checkPlugin.js @@ -4,10 +4,10 @@ * * Usage -- see README.md * -* Normal usage: node bin/plugins/checkPlugins.js ep_whatever -* Auto fix the things it can: node bin/plugins/checkPlugins.js ep_whatever autofix +* Normal usage: node bin/plugins/checkPlugin.js ep_whatever +* Auto fix the things it can: node bin/plugins/checkPlugin.js ep_whatever autofix * 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}`, 'git rm -rf node_modules --ignore-unmatch', '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', 'cd ../..', ].join(' && ');