diff options
author | UK992 <urbankrajnc92@gmail.com> | 2016-12-27 19:29:06 +0100 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2016-12-29 19:18:59 +0100 |
commit | 63a4bf74b0c19b71a2e61084c52bdbfcdd9ee6ef (patch) | |
tree | 1694842be35fbd36f299fba0f783062da67568d9 /python/tidy/servo_tidy | |
parent | 7eb4d7a9a7f519792754ca4f1847511d44d30f09 (diff) | |
download | servo-63a4bf74b0c19b71a2e61084c52bdbfcdd9ee6ef.tar.gz servo-63a4bf74b0c19b71a2e61084c52bdbfcdd9ee6ef.zip |
Fix tidy json alphabetical order check
Diffstat (limited to 'python/tidy/servo_tidy')
-rw-r--r-- | python/tidy/servo_tidy/tidy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index cae431205f8..2528ac88642 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -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 |