summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config_tree.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_tree.ml b/src/config_tree.ml
index 9b630d9..ef16ac9 100644
--- a/src/config_tree.ml
+++ b/src/config_tree.ml
@@ -329,7 +329,7 @@ let render_at_level
in
let children = Vytree.children_of_node node in
let child_configs = List.map (render ~indent:indent ~reftree:reftree ~cmp:cmp ~showephemeral:showephemeral ~showinactive:showinactive) children in
- List.fold_left (Printf.sprintf "%s\n%s") "" child_configs
+ String.concat "\n" child_configs
let render_commands ?(reftree=None) ?(alwayssort=false) ?(sortchildren=false) node path =
let node =