Skip to content

Commit

Permalink
fix: use run command instead of run-script
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Oct 14, 2016
1 parent 0d3671a commit e874a96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/npm-run-all.md
Expand Up @@ -165,7 +165,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
> npm-run-all build "start-server -- --port {1}" -- 8080
```

This is useful to pass through arguments from `npm run-script` command.
This is useful to pass through arguments from `npm run` command.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion docs/run-p.md
Expand Up @@ -125,7 +125,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
> run-p "start-server -- --port {1}" -- 8080
```

This is useful to pass through arguments from `npm run-script` command.
This is useful to pass through arguments from `npm run` command.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion docs/run-s.md
Expand Up @@ -120,7 +120,7 @@ We can use placeholders to give the arguments preceded by `--` to scripts.
> run-s build "start-server -- --port {1}" -- 8080
```

This is useful to pass through arguments from `npm run-script` command.
This is useful to pass through arguments from `npm run` command.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/run-task.js
Expand Up @@ -124,7 +124,7 @@ module.exports = function runTask(
// Execute.
cp = spawn(
"npm",
["run-script"].concat(prefixOptions, parseArgs(task)),
["run"].concat(prefixOptions, parseArgs(task)),
{stdio: [stdinKind, stdoutKind, stderrKind]}
)

Expand Down

0 comments on commit e874a96

Please sign in to comment.