scripts: Exclude spelling.txt from spelling check
Do not run spelling check on changes to scripts/spelling.txt. Signed-off-by: Dmitry Lukyantsev <dmitrylu@google.com>
This commit is contained in:
parent
34a966f219
commit
b2af5e87de
|
@ -2954,6 +2954,7 @@ sub process {
|
|||
|
||||
# Check for various typo / spelling mistakes
|
||||
if (defined($misspellings) &&
|
||||
($spelling_file !~ /$realfile/) &&
|
||||
($in_commit_log || $line =~ /^(?:\+|Subject:)/i)) {
|
||||
while ($rawline =~ /(?:^|[^a-z@])($misspellings)(?:\b|$|[^a-z@])/gi) {
|
||||
my $typo = $1;
|
||||
|
|
Loading…
Reference in a new issue