Skip to content

Commit a9b8291

Browse files
authored
Fix path with-parent example output (#1013)
Fix/follow-up to #1011
1 parent 977ffa6 commit a9b8291

File tree

1 file changed

+4
-4
lines changed
  • stdlib-candidate/std-rfc/path

1 file changed

+4
-4
lines changed

stdlib-candidate/std-rfc/path/mod.nu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ export def with-stem [stem: string] { with-field stem $stem }
6363
#
6464
# - replace parent path with `/root/` for all filenames in list
6565
# > ["/home/rose/meow", "/home/fdncred/"] | path with-parent "/root/"
66-
# ╭───┬────────────╮
67-
# │ 0 │ /root/meow │
68-
# │ 1 │ /root/spam
69-
# ╰───┴────────────╯
66+
# ╭───┬───────────────
67+
# │ 0 │ /root/meow
68+
# │ 1 │ /root/fdncred
69+
# ╰───┴───────────────
7070
# ```
7171
export def with-parent [parent: string] { with-field parent $parent }

0 commit comments

Comments
 (0)