From c9b4d09cc70f80ed8423bd81fbd2c5849512c3e0 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Mon, 1 Jul 2019 09:44:36 -0700 Subject: [PATCH] Readme tweaks (#340) --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 97c037727c..8d111e8fc4 100644 --- a/readme.md +++ b/readme.md @@ -508,8 +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 set up. - +`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 set up. ## Related