summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Shell/AST.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Shell/AST.cpp b/Userland/Shell/AST.cpp
index eeeaac98d3..98c1ac8eec 100644
--- a/Userland/Shell/AST.cpp
+++ b/Userland/Shell/AST.cpp
@@ -124,9 +124,7 @@ namespace Shell::AST {
static inline void print_indented(const String& str, int indent)
{
- for (auto i = 0; i < indent; ++i)
- dbgprintf(" ");
- dbgprintf("%s\n", str.characters());
+ dbgln("{}{}", String::repeated(' ', indent * 2), str);
}
static inline Optional<Position> merge_positions(const Optional<Position>& left, const Optional<Position>& right)