From d5842e7490a6826bbaaaa7c76c967a48e96dd1ef Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Tue, 2 Jul 2019 16:29:47 +0200 Subject: Prefer offline install for yarn --- lib/tasks/yarn.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tasks/yarn.rake b/lib/tasks/yarn.rake index 2ac88a039e7..32061ad4a57 100644 --- a/lib/tasks/yarn.rake +++ b/lib/tasks/yarn.rake @@ -24,7 +24,7 @@ namespace :yarn do desc 'Install Node dependencies with Yarn' task install: ['yarn:available'] do - unless system('yarn install --pure-lockfile --ignore-engines') + unless system('yarn install --pure-lockfile --ignore-engines --prefer-offline') abort 'Error: Unable to install node modules.'.color(:red) end end -- cgit v1.2.1