Skip to content

Commit

Permalink
Fix missing link in get-bin-path tip
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jul 1, 2019
1 parent 35104af commit 35f11e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -508,7 +508,7 @@ const binPath = getBinPathSync();
const subprocess = execa(binPath);
```

This is useful when testing the current package's binary. As opposed to hard-coding the path to the binary, this validates that the `package.json` `bin` field is correctly setup.
`execa` can be combined with [`get-bin-path`](https://github.com/ehmicky/get-bin-path) to test the current package's binary. As opposed to hard-coding the path to the binary, this validates that the `package.json` `bin` field is correctly setup.

## Related

Expand Down

0 comments on commit 35f11e7

Please sign in to comment.