misc_checks.py: Fix exit status for spellcheck.
This commit is contained in:
parent
8bbff689b4
commit
143228d593
@ -90,6 +90,7 @@ def check_spelling(target):
|
|||||||
if re.search(w, line) and fn not in seen[w]:
|
if re.search(w, line) and fn not in seen[w]:
|
||||||
print("Found '{}' in {}!".format(w, fn))
|
print("Found '{}' in {}!".format(w, fn))
|
||||||
seen[w].append(fn)
|
seen[w].append(fn)
|
||||||
|
ok = False
|
||||||
print()
|
print()
|
||||||
return ok
|
return ok
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
Reference in New Issue
Block a user