mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Bug - import/export now output JSON as individual objects
* For JSON as array, json.array=1 behaves as before * Tests and add-on scripts used in import tests were updated
This commit is contained in:
parent
b569504139
commit
d49a2614ba
6 changed files with 11 additions and 8 deletions
|
@ -76,8 +76,7 @@ int CmdImport::execute (std::string& output)
|
|||
{
|
||||
std::string object = trimLeft (
|
||||
trimRight (
|
||||
trimRight (
|
||||
trim (*line), ","),
|
||||
trim (*line),
|
||||
"]"),
|
||||
"[");
|
||||
// Skip blanks. May be caused by the trim calls above.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue