diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake index c5d2063ae82..2550b86b725 100644 --- a/lib/tasks/docker.rake +++ b/lib/tasks/docker.rake @@ -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']