Get rid of some unchecked calls to std::cout

This commit is contained in:
Eelco Dolstra
2023-03-02 15:02:24 +01:00
parent 09f5975c6a
commit b69a73a230
15 changed files with 36 additions and 39 deletions
+1 -1
View File
@@ -952,7 +952,7 @@ struct CmdFlakeArchive : FlakeCommand, MixJSON, MixDryRun
{"path", store->printStorePath(flake.flake.sourceInfo->storePath)},
{"inputs", traverse(*flake.lockFile.root)},
};
std::cout << jsonRoot.dump() << std::endl;
logger->cout("%s", jsonRoot);
} else {
traverse(*flake.lockFile.root);
}