File tree 1 file changed +7
-5
lines changed
packages/create-react-app
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -254,11 +254,13 @@ function createApp(
254
254
const yarnInfo = checkYarnVersion ( ) ;
255
255
if ( ! yarnInfo . hasMinYarnPnp ) {
256
256
if ( yarnInfo . yarnVersion ) {
257
- chalk . yellow (
258
- `You are using Yarn ${
259
- yarnInfo . yarnVersion
260
- } together with the --use-pnp flag, but Plug'n'Play is only supported starting from the 1.12 release.\n\n` +
261
- `Please update to Yarn 1.12 or higher for a better, fully supported experience.\n`
257
+ console . log (
258
+ chalk . yellow (
259
+ `You are using Yarn ${
260
+ yarnInfo . yarnVersion
261
+ } together with the --use-pnp flag, but Plug'n'Play is only supported starting from the 1.12 release.\n\n` +
262
+ `Please update to Yarn 1.12 or higher for a better, fully supported experience.\n`
263
+ )
262
264
) ;
263
265
}
264
266
// 1.11 had an issue with webpack-dev-middleware, so better not use PnP with it (never reached stable, but still)
You can’t perform that action at this time.
0 commit comments