From c5c1b45d19f7c898f75f81e1f1014a234e6cdbd7 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 20 Jun 2018 16:51:48 +0200 Subject: [PATCH] higher loglevel for prettier --- lib/tasks/docker.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake index e2d6f17cdaf..d0460ed31f1 100644 --- a/lib/tasks/docker.rake +++ b/lib/tasks/docker.rake @@ -45,7 +45,7 @@ task 'docker:test' do @good &&= run_or_fail("eslint --ext .es6 plugins/#{ENV['SINGLE_PLUGIN']}") puts "Listing prettier offenses in #{ENV['SINGLE_PLUGIN']}:" - @good &&= run_or_fail("prettier --list-different 'plugins/#{ENV['SINGLE_PLUGIN']}/**/*.scss' 'plugins/#{ENV['SINGLE_PLUGIN']}/**/*.es6'") + @good &&= run_or_fail("prettier --loglevel=debug --list-different 'plugins/#{ENV['SINGLE_PLUGIN']}/**/*.scss' 'plugins/#{ENV['SINGLE_PLUGIN']}/**/*.es6'") else @good &&= run_or_fail("bundle exec rubocop --parallel") unless ENV["SKIP_CORE"] @good &&= run_or_fail("eslint app/assets/javascripts test/javascripts") unless ENV["SKIP_CORE"] @@ -53,12 +53,12 @@ task 'docker:test' do unless ENV["SKIP_CORE"] puts "Listing prettier offenses in core:" - @good &&= run_or_fail('prettier --list-different "app/assets/stylesheets/**/*.scss" "app/assets/javascripts/**/*.es6" "test/javascripts/**/*.es6"') + @good &&= run_or_fail('prettier --loglevel=debug --list-different "app/assets/stylesheets/**/*.scss" "app/assets/javascripts/**/*.es6" "test/javascripts/**/*.es6"') end unless ENV["SKIP_PLUGINS"] puts "Listing prettier offenses in plugins:" - @good &&= run_or_fail('prettier --list-different "plugins/**/*.scss" "plugins/**/*.es6"') + @good &&= run_or_fail('prettier --loglevel=debug --list-different "plugins/**/*.scss" "plugins/**/*.es6"') end end end