Skip to content

Commit 4c542d5

Browse files
committed
chore: adjust yarn warning [ci skip]
1 parent bccae16 commit 4c542d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Hi! I'm really excited that you are interested in contributing to Vue.js. Before
3939

4040
## Development Setup
4141

42-
You will need [Node.js](http://nodejs.org) **version 10+**, and [Yarn](https://yarnpkg.com/en/docs/install).
42+
You will need [Node.js](http://nodejs.org) **version 10+**, and [Yarn 1.x](https://yarnpkg.com/en/docs/install).
4343

4444
After cloning the repo, run:
4545

scripts/checkYarn.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
if (!/yarn\.js$/.test(process.env.npm_execpath || '')) {
22
console.warn(
3-
"\u001b[33mYou don't seem to be using yarn. This could produce unexpected results.\u001b[39m"
3+
'\u001b[33mThis repository requires Yarn 1.x for scripts to work properly.\u001b[39m\n'
44
)
5+
process.exit(1)
56
}

0 commit comments

Comments
 (0)