Skip to content

Commit

Permalink
Fix tidy json alphabetical order check
Browse files Browse the repository at this point in the history
  • Loading branch information
UK992 committed Dec 29, 2016
1 parent 7eb4d7a commit 63a4bf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion python/tidy/servo_tidy/tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion servo-tidy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 63a4bf7

Please sign in to comment.