Problem/Motivation
Following #3109556: Update from Yarn 1 to Yarn 4 commit-code-check.sh is broken for the spellcheck component.
Steps to reproduce
Add a spelling error to code and run core/scripts/dev/commit-code-check.sh, output is incorrect:
1/1 stdin:// 292.98ms
CSpell: Files checked: 1, Issues found: 0 in 0 files
Proposed resolution
Fix the call to yarn spellcheck.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3432249
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3432249-cspell-check-broken
changes, plain diff MR !7097
Comments
Comment #3
longwaveMR fixes this and reverts the line to closer what it was before, with the removal of the
-sswitch which is no longer supported (Yarn 4 is silent by default).Comment #4
alexpottLooks great
Comment #7
nod_hopefully that'll fix the needs review bot too
Committed ad704a3 and pushed to 11.x. Thanks!
Comment #8
nod_looks like it did the trick