mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- _query command used {} instead of [] for task collection.
This commit is contained in:
parent
55de71feca
commit
0fda4b060c
1 changed files with 2 additions and 2 deletions
|
@ -596,7 +596,7 @@ int handleQuery (std::string& outs)
|
|||
// Note: "limit:" feature not supported.
|
||||
|
||||
// Compose output.
|
||||
outs = "{";
|
||||
outs = "[";
|
||||
std::vector <Task>::iterator t;
|
||||
for (t = tasks.begin (); t != tasks.end (); ++t)
|
||||
{
|
||||
|
@ -606,7 +606,7 @@ int handleQuery (std::string& outs)
|
|||
outs += t->composeJSON ();
|
||||
}
|
||||
|
||||
outs += "}\n";
|
||||
outs += "]\n";
|
||||
|
||||
context.hooks.trigger ("post-query-command");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue