This commit is contained in:
Joao Moreno
2017-11-18 08:30:46 +01:00
parent 1f040a1258
commit f33a8b7b9b

View File

@@ -12,7 +12,7 @@ if (major < 8) {
err = true;
}
if (!/yarn\.js$/.test(process.env['npm_execpath'])) {
if (!/yarn\.js$|yarnpkg$/.test(process.env['npm_execpath'])) {
console.error('\033[1;31m*** Please use yarn to install dependencies.\033[0;0m');
err = true;
}