From 4b8000c66c09da5f3c7667378c94ce7558f8c1b3 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:13:00 -0400 Subject: [PATCH] doc: fix documentation for `--run` PR-URL: https://github.com/nodejs/node/pull/53976 Reviewed-By: Antoine du Hamel Reviewed-By: Yagiz Nizipli Reviewed-By: Trivikram Kamat --- doc/api/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index df381f80c51ea7..d00491efe74bd8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2017,7 +2017,7 @@ changes: > Stability: 1.2 - Release candidate This runs a specified command from a package.json's `"scripts"` object. -If no `"command"` is provided, it will list the available scripts. +If a missing `"command"` is provided, it will list the available scripts. `--run` will traverse up to the root directory and finds a `package.json` file to run the command from.