summaryrefslogtreecommitdiffstatshomepage
path: root/core/scripts/dev/commit-code-check.sh
diff options
context:
space:
mode:
authorLauri Eskola <lauri.eskola@acquia.com>2022-03-08 14:33:15 +0200
committerLauri Eskola <lauri.eskola@acquia.com>2022-03-08 14:33:15 +0200
commit78388a46cf45cb825e67810ae8328f81f52a65c8 (patch)
tree6896b84eab35bd9e764569aadbef5d425bddf38c /core/scripts/dev/commit-code-check.sh
parentb07c6d7c55934dd6ca8247d01850551225eef7cd (diff)
downloaddrupal-78388a46cf45cb825e67810ae8328f81f52a65c8.tar.gz
drupal-78388a46cf45cb825e67810ae8328f81f52a65c8.zip
Issue #3267705 by xjm, longwave: Fix error message when 'yarn check -s' fails in the commit check script
Diffstat (limited to 'core/scripts/dev/commit-code-check.sh')
-rwxr-xr-xcore/scripts/dev/commit-code-check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh
index de9f08e0a1c5..d09af83e5e6e 100755
--- a/core/scripts/dev/commit-code-check.sh
+++ b/core/scripts/dev/commit-code-check.sh
@@ -184,7 +184,7 @@ cd "$TOP_LEVEL/core"
# 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