-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update the command use to get package's version using CLI with Y…
…arn 2 Use CLI with Yarn 2 and Node 10 results in an output polluted with: `(node:87281) ExperimentalWarning: The XXX.promises API is experimental` These messages are warnings but are send to `stderr` which is causing CLI to throw an error too. With `sync` function we can check the `status` to know if command ends in error or not and process accordingly.
- Loading branch information
1 parent
da28a4d
commit cc6f706
Showing
1 changed file
with
18 additions
and
22 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