mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04: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 = [
|
const cmd = [
|
||||||
'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 checkPlugin.js"',
|
'{ ! git diff-index --cached --quiet HEAD || exit 0; }',
|
||||||
|
'git commit -m "autofixes from Etherpad checkPlugin.js"',
|
||||||
'git push',
|
'git push',
|
||||||
].join(' && ');
|
].join(' && ');
|
||||||
if (autoCommit) {
|
if (autoCommit) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue