mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-05-03 13:30:44 +00:00
ci: update jsonschema to 0.26.1 for schema validation (#1637)
* ci: update jsonschema to 0.26.1 for schema validation * make sure to rerun schema validation
This commit is contained in:
@@ -1 +1 @@
|
||||
jsonschema-rs == 0.18.0
|
||||
jsonschema-rs == 0.26.1
|
||||
|
||||
@@ -40,7 +40,7 @@ def main():
|
||||
|
||||
with open(file, "rb") as f, open(schema) as s:
|
||||
try:
|
||||
validator = jsonschema_rs.JSONSchema.from_str(s.read())
|
||||
validator = jsonschema_rs.validator_for(s.read())
|
||||
except:
|
||||
print("Couldn't create validator.")
|
||||
exit()
|
||||
|
||||
Reference in New Issue
Block a user