Commit b905b80a authored by Xiaowu Zhang's avatar Xiaowu Zhang

validate: remove the top [ and beautify format

it seems not a valid json schema
parent a58b450d
This diff is collapsed.
......@@ -30,7 +30,7 @@ for fn in filenames:
continue
try:
validate(instance=data, schema=SCHEMA[0])
validate(instance=data, schema=SCHEMA)
except ValidationError as e:
invalid_json_list.append({"file":fn, "error": e.message, "path": e.absolute_path})
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment