Validate C# json/object-api options (#6985)

This commit is contained in:
Derek Bailey
2021-12-13 11:52:01 -08:00
committed by GitHub
parent c555ee8fac
commit b78002ff3e
3 changed files with 12 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ def flatc(
cmd += [schema] if isinstance(schema, str) else schema
if data:
cmd += [data] if isinstance(data, str) else data
subprocess.run(cmd, cwd=cwd)
result = subprocess.run(cmd, cwd=cwd, check=True)
# Glob a pattern relative to file path