diff options
author | Lukas Eipert <leipert@gitlab.com> | 2019-07-02 17:29:47 +0300 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2019-07-02 17:29:47 +0300 |
commit | d5842e7490a6826bbaaaa7c76c967a48e96dd1ef (patch) | |
tree | 315f8287bcc3ede52c001b0766b361b554b24e09 /lib/tasks/yarn.rake | |
parent | e07ebe66af957c46e7c69329b3ab561bb539351b (diff) |
Prefer offline install for yarn
Diffstat (limited to 'lib/tasks/yarn.rake')
-rw-r--r-- | lib/tasks/yarn.rake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |