mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Fix tidy json alphabetical order check
This commit is contained in:
parent
7eb4d7a9a7
commit
63a4bf74b0
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue