diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:02:24 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:02:24 +0100 |
commit | b69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (patch) | |
tree | 4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/make-content-addressed.cc | |
parent | 09f5975c6a0d8706b22f15e4c5998018e56484ae (diff) |
Get rid of some unchecked calls to std::cout
Diffstat (limited to 'src/nix/make-content-addressed.cc')
-rw-r--r-- | src/nix/make-content-addressed.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/make-content-addressed.cc b/src/nix/make-content-addressed.cc index d86b90fc7..6693c55ac 100644 --- a/src/nix/make-content-addressed.cc +++ b/src/nix/make-content-addressed.cc @@ -45,7 +45,7 @@ struct CmdMakeContentAddressed : virtual CopyCommand, virtual StorePathsCommand, } auto json = json::object(); json["rewrites"] = jsonRewrites; - std::cout << json.dump(); + logger->cout("%s", json); } else { for (auto & path : storePaths) { auto i = remappings.find(path); |