mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Added filter prep for write commands that don't instantiate Filter
This commit is contained in:
parent
941e8c9f37
commit
d9fc334098
1 changed files with 5 additions and 1 deletions
|
@ -453,7 +453,11 @@ int Context::dispatch (std::string &out)
|
|||
|
||||
// This is something that is only needed for write commands with no other
|
||||
// filter processing.
|
||||
cli2.prepareFilter ();
|
||||
if (! c->read_only () &&
|
||||
! c->accepts_filter ())
|
||||
{
|
||||
cli2.prepareFilter ();
|
||||
}
|
||||
|
||||
return c->execute (out);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue