Pass --ignore-engines to yarn

This commit is contained in:
Tom Hughes 2021-07-27 19:17:13 +01:00
parent bde9833cc2
commit 102f3a6668

View file

@ -8,7 +8,7 @@ Dir.chdir(APP_ROOT) do
.find { |file| File.executable?(file) }
if yarn
exec yarn, *ARGV
exec yarn, "--ignore-engines", *ARGV
else
warn "Yarn executable was not detected in the system."
warn "Download Yarn at https://yarnpkg.com/en/docs/install"