chore: adjust yarn warning [ci skip]

This commit is contained in:
Evan You
2020-06-09 17:39:48 -04:00
parent bccae1632f
commit 4c542d5033
2 changed files with 3 additions and 2 deletions

View File

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