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:
parent
17fb18d3c2
commit
4b8000c66c
@ -2017,7 +2017,7 @@ changes:
|
|||||||
> Stability: 1.2 - Release candidate
|
> Stability: 1.2 - Release candidate
|
||||||
|
|
||||||
This runs a specified command from a package.json's `"scripts"` object.
|
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`
|
`--run` will traverse up to the root directory and finds a `package.json`
|
||||||
file to run the command from.
|
file to run the command from.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user