-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid relying on Node’s internals (#125)
`process.binding()` is not a public API, and should not be used. Luckily, Node recently introduced an API that does exactly what execa needs: nodejs/node#18186 So use that instead and keep the old path as a fallback.
- Loading branch information
1 parent
b019895
commit 51a45df
Showing
2 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters