aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-17 21:44:27 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-17 21:44:27 +0000
commit619d262c9786ab3e2b1d9819d2e440bb0cc882cf (patch)
tree1592170328af6f6a5e9505f729aa32c8d5766d38 /src/nix/ls.cc
parent0fefc2a439e47442e1bc4f35cacb3989d34f95ba (diff)
parent05e6fe69f91a2f17051ca6bf37509dafe44d7b30 (diff)
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r--src/nix/ls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc
index baca54431..f39fdb2fd 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -37,11 +37,11 @@ struct MixLs : virtual Args, MixJSON
auto line = fmt("%s %20d %s", tp, st.fileSize, relPath);
if (st.type == FSAccessor::Type::tSymlink)
line += " -> " + accessor->readLink(curPath);
- logger->stdout(line);
+ logger->cout(line);
if (recursive && st.type == FSAccessor::Type::tDirectory)
doPath(st, curPath, relPath, false);
} else {
- logger->stdout(relPath);
+ logger->cout(relPath);
if (recursive) {
auto st = accessor->stat(curPath);
if (st.type == FSAccessor::Type::tDirectory)