fix: minor issue with schemastore part of script (#4195)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner 2024-02-01 12:25:38 -05:00 committed by GitHub
parent cca3c0fd9f
commit 24c9c01e91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
scripts/generate_schema.py Normal file → Executable file
View File

@ -62,7 +62,7 @@ def main(schemastore: bool, outfile: IO[str]) -> None:
}
if schemastore:
schema["$id"] = ("https://json.schemastore.org/partial-black.json",)
schema["$id"] = "https://json.schemastore.org/partial-black.json"
# The precise list of unstable features may change frequently, so don't
# bother putting it in SchemaStore
schema["properties"]["enable-unstable-feature"]["items"] = {"type": "string"}