diff options
author | Lauri Eskola <lauri.eskola@acquia.com> | 2022-03-08 14:33:15 +0200 |
---|---|---|
committer | Lauri Eskola <lauri.eskola@acquia.com> | 2022-03-08 14:33:15 +0200 |
commit | 78388a46cf45cb825e67810ae8328f81f52a65c8 (patch) | |
tree | 6896b84eab35bd9e764569aadbef5d425bddf38c /core/scripts/dev/commit-code-check.sh | |
parent | b07c6d7c55934dd6ca8247d01850551225eef7cd (diff) | |
download | drupal-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-x | core/scripts/dev/commit-code-check.sh | 2 |
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 |