mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Hooks: Remove read loop from example on-exit hook
There is no input to the on-exit script. Prevents error: "Hook Error: Expected 0 JSON task(s), found 1" Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
This commit is contained in:
parent
df3f8ead11
commit
c27f5d23b6
1 changed files with 0 additions and 7 deletions
|
@ -3,13 +3,6 @@
|
|||
# The on-exit event is triggered once, after all processing is complete.
|
||||
# This hooks script has no effect on processing.
|
||||
|
||||
# Input:
|
||||
# - Read-only line of JSON for each task added/modified
|
||||
while read modified_task
|
||||
do
|
||||
echo $modified_task
|
||||
done
|
||||
|
||||
# Output:
|
||||
# - Optional feedback/error.
|
||||
echo 'on-exit'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue