mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Hooks
- Fixed on-modify hook regression which stopped hooks from modifying tasks. On a related note, more hooks tests are definitely needed.
This commit is contained in:
parent
7fa3c5ac84
commit
138360b7bc
2 changed files with 3 additions and 0 deletions
|
@ -358,6 +358,7 @@ void Hooks::onModify (const Task& before, Task& after)
|
|||
throw 0; // This is how hooks silently terminate processing.
|
||||
}
|
||||
}
|
||||
after = Task (input[1]);
|
||||
}
|
||||
|
||||
context.timer_hooks.stop ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue