Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): docusaurus CLI should detect the correct yarn version when…
… suggesting upgrades (#9006) * fix(core): Correct yarn version detection Correct yarn version detection by checking `yarnPath` value inside `.yarnrc.yml` file Add js-yaml in package.json * Change to use `shelljs` instead of `js-yaml` * Change echo mode to silent * Check `yarn.lock` exist, before version checking * Remove unnecessary �optional chaining �Nullish coalescing operator still provides the fallback value Co-authored-by: Joshua Chen <sidachen2003@gmail.com> --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
- Loading branch information