Skip to content
Snippets Groups Projects
Commit a00ef372 authored by Kunal Sachdev's avatar Kunal Sachdev
Browse files

commented out code to check cspell

parent 0c4af2e7
No related branches found
No related merge requests found
......@@ -29,9 +29,9 @@ build:
# Uncomment to Check all files
#- sed -i "s/git diff --name-only HEAD~1 HEAD/find \* -type f -not -path \"\.\/\.git\*\"/" modules/contrib/automatic_updates/commit-code-check.sh
# Make cspell examine our files.
- sed -i "s/yarn run -s spellcheck/yarn run -s spellcheck --root \$TOP_LEVEL/" modules/contrib/automatic_updates/commit-code-check.sh
#- sed -i "s/yarn run -s spellcheck/yarn run -s spellcheck --root \$TOP_LEVEL/" modules/contrib/automatic_updates/commit-code-check.sh
# Add our words to the dictionary.
#- cat modules/contrib/automatic_updates/dictionary.txt >> core/misc/cspell/dictionary.txt
- cat modules/contrib/automatic_updates/dictionary.txt >> core/misc/cspell/dictionary.txt
# After all of the shenanigans above, we're finally ready to run core's `commit-code-check.sh`! :)
- "modules/contrib/automatic_updates/commit-code-check.sh --drupalci"
# Restore the original permissions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment