Files
vue-cli/packages/@vue/cli-shared-utils/lib/env.js
T
Haoqun Jiang 448dbdb4f3 fix: use yarn --version to detect yarn (#4336)
- We never referred to `yarnpkg` anywhere else in the codebase
- For the rare case that `yarn` binary is overridden by Hadoop YARN,
`yarn --version` will throw (it only supports `yarn version`), therefore
it won't pass this check.

Fixes #3941.
Closes #3942.
2019-07-23 20:35:05 +08:00

2.8 KiB