Don't indent JSON output

This commit is contained in:
Eelco Dolstra 2017-11-14 14:27:01 +01:00
parent bac8055652
commit c8155e9f5f
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 4 additions and 4 deletions

View file

@ -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()),