mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
checkPlugin: Don't create an empty commit
This commit is contained in:
parent
38ca0c52a6
commit
071cca1d48
1 changed files with 2 additions and 1 deletions
|
@ -467,7 +467,8 @@ fs.readdir(pluginPath, (err, rootFiles) => {
|
|||
const cmd = [
|
||||
'git rm -rf node_modules --ignore-unmatch',
|
||||
'git add -A',
|
||||
'git commit --allow-empty -m "autofixes from Etherpad checkPlugin.js"',
|
||||
'{ ! git diff-index --cached --quiet HEAD || exit 0; }',
|
||||
'git commit -m "autofixes from Etherpad checkPlugin.js"',
|
||||
'git push',
|
||||
].join(' && ');
|
||||
if (autoCommit) {
|
||||
|
|
Loading…
Reference in a new issue