workflow: alert user working on repo if not using yarn (#1237)
This commit is contained in:
5
scripts/checkYarn.js
Normal file
5
scripts/checkYarn.js
Normal file
@@ -0,0 +1,5 @@
|
||||
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"
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user