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:
committed by
Wilhelm Schuermann
parent
df3f8ead11
commit
c27f5d23b6
@@ -3,13 +3,6 @@
|
|||||||
# The on-exit event is triggered once, after all processing is complete.
|
# The on-exit event is triggered once, after all processing is complete.
|
||||||
# This hooks script has no effect on processing.
|
# 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:
|
# Output:
|
||||||
# - Optional feedback/error.
|
# - Optional feedback/error.
|
||||||
echo 'on-exit'
|
echo 'on-exit'
|
||||||
|
|||||||
Reference in New Issue
Block a user