diff --git a/lib/tasks/js.rake b/lib/tasks/js.rake index 8fc5b182dba..768a93f90df 100644 --- a/lib/tasks/js.rake +++ b/lib/tasks/js.rake @@ -50,9 +50,8 @@ namespace :js do desc "Ensure up-to-date node environment" task :yarn_install do puts "node is: #{`node -v`.strip} (#{`which node`.strip})" - output = `yarn install --frozen-lockfile` + system "yarn install --frozen-lockfile" unless $?.success? - puts output raise 'error running yarn install' end end