doc: fix documentation for --run

PR-URL: https://github.com/nodejs/node/pull/53976
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Aviv Keller 2024-07-22 15:13:00 -04:00 committed by GitHub
parent 17fb18d3c2
commit 4b8000c66c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.