Unverified Commit e2ad80da authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3267705 by xjm, longwave: Fix error message when 'yarn check -s' fails...

Issue #3267705 by xjm, longwave: Fix error message when 'yarn check -s' fails in the commit check script

(cherry picked from commit 78388a46)
(cherry picked from commit d933e188)
parent 3717bfb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@
# Ensure JavaScript development dependencies are installed.
yarn check -s 2>/dev/null
if [ "$?" -ne "0" ]; then
  printf "Drupal's JavaScript development dependencies are not installed. Run 'yarn install' inside the core directory.\n"
  printf "Drupal's JavaScript development dependencies are not installed or cannot be resolved. Run 'yarn install' inside the core directory, or 'yarn check -s' to list other errors.\n"
  DEPENDENCIES_NEED_INSTALLING=1;
fi