From: Tom Hughes Date: Tue, 27 Jul 2021 18:17:13 +0000 (+0100) Subject: Pass --ignore-engines to yarn X-Git-Tag: live~1986 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/102f3a6668665774f069a8116a251a28c3c5c0cc?hp=bde9833cc23c85aff5f953cda3467956d42374e4 Pass --ignore-engines to yarn --- diff --git a/bin/yarn b/bin/yarn index be76eec94..72c7b5d97 100755 --- a/bin/yarn +++ b/bin/yarn @@ -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"