Don't indent JSON output
This commit is contained in:
parent
bac8055652
commit
c8155e9f5f
4 changed files with 4 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ struct CmdPathInfo : StorePathsCommand, MixJSON
|
|||
pathLen = std::max(pathLen, storePath.size());
|
||||
|
||||
if (json) {
|
||||
JSONPlaceholder jsonRoot(std::cout, true);
|
||||
JSONPlaceholder jsonRoot(std::cout);
|
||||
store->pathInfoToJSON(jsonRoot,
|
||||
// FIXME: preserve order?
|
||||
PathSet(storePaths.begin(), storePaths.end()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue