Unverified Commit d933e188 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)
parent 974c42a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,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