Fix tidy json alphabetical order check

This commit is contained in:
UK992 2016-12-27 19:29:06 +01:00
parent 7eb4d7a9a7
commit 63a4bf74b0
2 changed files with 1 additions and 2 deletions

View file

@ -734,7 +734,7 @@ def check_for_alphabetical_sorted_json_keys(key_value_pairs):
def check_json_requirements(filename):
def check_fn(key_value_pairs):
check_for_possible_duplicate_json_keys(key_value_pairs)
if filename in config["check-ordered-json-keys"]:
if filename in normilize_paths(config["check-ordered-json-keys"]):
check_for_alphabetical_sorted_json_keys(key_value_pairs)
return check_fn

View file

@ -3,7 +3,6 @@ skip-check-length = false
skip-check-licenses = false
check-ordered-json-keys = [
"./resources/prefs.json",
"./resources/package-prefs.json",
]
lint-scripts = [
"./python/servo/lints/wpt_lint.py",