From d870c7e1b0b2b3a53974df02c27a781b0577c951 Mon Sep 17 00:00:00 2001 From: v1teka <29147256+v1teka@users.noreply.github.com> Date: Sun, 20 Sep 2026 09:47:13 +0000 Subject: [PATCH] docs: fix two links pointing at non-existent same-page anchors configuration.md linked cd() to #cd, but cd() is documented in api.md. api.md linked ProcessOutput to #processoutput, but ProcessOutput has its own page, process-output.md, which the same file already links to elsewhere. Signed-off-by: v1teka <29147256+v1teka@users.noreply.github.com> --- docs/api.md | 2 +- docs/configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index b69b0f3027..5eb9217c27 100644 --- a/docs/api.md +++ b/docs/api.md @@ -177,7 +177,7 @@ await sleep(1000) ## `echo()` -A `console.log()` alternative which can take [ProcessOutput](#processoutput). +A `console.log()` alternative which can take [ProcessOutput](./process-output.md). ```js const branch = await $`git branch --show-current` diff --git a/docs/configuration.md b/docs/configuration.md index d13ef2aeef..330074a166 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -95,7 +95,7 @@ Defaults to `process.env`. Specifies a current working directory of all processes created with the `$`. -The [cd()](#cd) func changes only `process.cwd()` and if no `$.cwd` specified, +The [cd()](./api.md#cd) func changes only `process.cwd()` and if no `$.cwd` specified, all `$` processes use `process.cwd()` by default (same as `spawn` behavior). ## `$.log`