File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
165
165
> npm-run-all build "start-server -- --port {1}" -- 8080
166
166
```
167
167
168
- This is useful to pass through arguments from ` npm run-script ` command.
168
+ This is useful to pass through arguments from ` npm run ` command.
169
169
170
170
``` json
171
171
{
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
125
125
> run-p "start-server -- --port {1}" -- 8080
126
126
```
127
127
128
- This is useful to pass through arguments from ` npm run-script ` command.
128
+ This is useful to pass through arguments from ` npm run ` command.
129
129
130
130
``` json
131
131
{
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
120
120
> run-s build "start-server -- --port {1}" -- 8080
121
121
```
122
122
123
- This is useful to pass through arguments from ` npm run-script ` command.
123
+ This is useful to pass through arguments from ` npm run ` command.
124
124
125
125
``` json
126
126
{
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ module.exports = function runTask(
124
124
// Execute.
125
125
cp = spawn (
126
126
"npm" ,
127
- [ "run-script " ] . concat ( prefixOptions , parseArgs ( task ) ) ,
127
+ [ "run" ] . concat ( prefixOptions , parseArgs ( task ) ) ,
128
128
{ stdio : [ stdinKind , stdoutKind , stderrKind ] }
129
129
)
130
130
You can’t perform that action at this time.
0 commit comments