diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index de9f08e0a1c5a48104e579edc04c912ae8edb901..d09af83e5e6e6911a8d64fb1d8b1264dd81a4b0a 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -184,7 +184,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