Closed gaetanmaisse closed 3 years ago
Yarn 2 doesn't support the -W option when running yarn add. So I added a check to know if we are using Yarn 1 or 2 and update the command accordingly.
-W
yarn add
Related to https://github.com/storybookjs/storybook/pull/13559
:rocket: PR was released in v0.7.0 :rocket:
v0.7.0
Yarn 2 doesn't support the
-W
option when runningyarn add
. So I added a check to know if we are using Yarn 1 or 2 and update the command accordingly.Related to https://github.com/storybookjs/storybook/pull/13559