force install with sudo

This commit is contained in:
Joffrey JAFFEUX 2018-06-08 13:25:33 +02:00 committed by GitHub
parent bc7f16a406
commit eedf7ffc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ desc 'Run all tests (JS and code in a standalone environment)'
task 'docker:test' do
begin
system("yarn install --dev")
system("npm install -g prettier")
system("sudo npm install -g prettier")
@good = true
unless ENV['SKIP_LINT']