Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #8869: Add innerHTML lint check #8870

Merged
merged 10 commits into from
Mar 28, 2020
Prev Previous commit
Next Next commit
fix _check_for_mandatory_pattern_in_file issue
  • Loading branch information
Kevin Thomas committed Mar 18, 2020
commit 7dac20e46849815eea8f7fba486d0b6d4ffabfba
3 changes: 2 additions & 1 deletion scripts/pre_commit_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,8 @@ def _check_for_mandatory_pattern_in_file(
regexp_to_check['included_types'])]) and (
not any([
filepath.endswith(
pattern) for pattern in (
os.path.join(os.getcwd(), pattern))
for pattern in (
regexp_to_check[
'excluded_files'] +
regexp_to_check[
Expand Down