Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Nov 18, 2017
1 parent 1f040a1 commit f33a8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/npm/preinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f33a8b7

Please sign in to comment.