Created by: fson
- Remove the
'yarn' is not recognized as an internal or external command, ...
message on Windows. - Simplify the detection code: just run
yarn --version
– if it succeeds useyarn
, if it fails usenpm
. - Pass the
--verbose
option to Yarn if given, Yarn supports it now.
Tested on macOS and Windows 10.