From a9b829115ff3c77981616ae777379fc0bd4dc998 Mon Sep 17 00:00:00 2001 From: 132ikl <132@ikl.sh> Date: Mon, 6 Jan 2025 14:25:00 -0500 Subject: [PATCH] Fix `path with-parent` example output (#1013) Fix/follow-up to #1011 --- stdlib-candidate/std-rfc/path/mod.nu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stdlib-candidate/std-rfc/path/mod.nu b/stdlib-candidate/std-rfc/path/mod.nu index f3c1e69..791e83a 100644 --- a/stdlib-candidate/std-rfc/path/mod.nu +++ b/stdlib-candidate/std-rfc/path/mod.nu @@ -63,9 +63,9 @@ export def with-stem [stem: string] { with-field stem $stem } # # - replace parent path with `/root/` for all filenames in list # > ["/home/rose/meow", "/home/fdncred/"] | path with-parent "/root/" -# ╭───┬────────────╮ -# │ 0 │ /root/meow │ -# │ 1 │ /root/spam │ -# ╰───┴────────────╯ +# ╭───┬───────────────╮ +# │ 0 │ /root/meow │ +# │ 1 │ /root/fdncred │ +# ╰───┴───────────────╯ # ``` export def with-parent [parent: string] { with-field parent $parent }