From d69fefe9f0b4d1f74ad715aa62f31cf1d4006224 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 27 Oct 2025 17:07:21 -0500 Subject: [PATCH] Use status instead of precondition to avoid error 1 --- Taskfile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 5356d2c..54e0580 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -46,12 +46,12 @@ tasks: notes:push: desc: Commit and push changes to notes submodule dir: '{{.NOTES_DIR}}' - preconditions: - - sh: git add NOTES.md && ! git diff --cached --quiet - msg: "No changes to commit" cmds: + - git add NOTES.md - git commit -m "Update notes - $(date '+%Y-%m-%d %H:%M')" - git push + status: + - git add NOTES.md && git diff --cached --quiet silent: false notes:status: