Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update_schema.py doesn't work for pyright 1.1.367
The "$id" has been removed in microsoft/pyright@4b84651 Traceback (most recent call last): File "D:\jfcherng\Desktop\repos\my\LSP-pyright\scripts\update_schema.py", line 116, in <module> main() File "D:\jfcherng\Desktop\repos\my\LSP-pyright\scripts\update_schema.py", line 40, in main new_schema_keys = sorted(update_schema(sublime_package_schema_json, pyrightconfig_schema_json)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\jfcherng\Desktop\repos\my\LSP-pyright\scripts\update_schema.py", line 88, in update_schema update_property_ref(override_key, override_value, pyrightconfig_properties) File "D:\jfcherng\Desktop\repos\my\LSP-pyright\scripts\update_schema.py", line 111, in update_property_ref pyrightconfig_property_id: str = pyrightconfig_properties[property_key]["$id"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ KeyError: '$id' Signed-off-by: Jack Cherng <[email protected]>
- Loading branch information