[services] Fix note-sync services pushing
Fixed conditional to not always reset push timer, even if no changes were made.
This commit is contained in:
parent
98377fdf00
commit
589211ed3a
1 changed files with 3 additions and 2 deletions
|
@ -31,9 +31,10 @@ should_commit() {
|
||||||
if [ "$(run_git status --porcelain | wc -l)" -eq 0 ]; then
|
if [ "$(run_git status --porcelain | wc -l)" -eq 0 ]; then
|
||||||
msg "No changes to commit in $DIR"
|
msg "No changes to commit in $DIR"
|
||||||
false
|
false
|
||||||
|
else
|
||||||
|
msg "Found changes to commit in $DIR"
|
||||||
|
true
|
||||||
fi
|
fi
|
||||||
msg "Found changes to commit in $DIR"
|
|
||||||
true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
should_push() {
|
should_push() {
|
||||||
|
|
Loading…
Reference in a new issue