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: ...@@ -30,7 +30,7 @@ for fn in filenames:
continue continue
try: try:
validate(instance=data, schema=SCHEMA[0]) validate(instance=data, schema=SCHEMA)
except ValidationError as e: except ValidationError as e:
invalid_json_list.append({"file":fn, "error": e.message, "path": e.absolute_path}) invalid_json_list.append({"file":fn, "error": e.message, "path": e.absolute_path})
continue 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