summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDerek Bailey <derekbailey@google.com>2021-12-13 11:52:01 -0800
committerGitHub <noreply@github.com>2021-12-13 11:52:01 -0800
commitb78002ff3edf55527ad550dbf0eb1b2717264f8e (patch)
tree94be801ff261c3ceeee6d0f848f55e95b2f43151 /scripts
parentc555ee8fac95b1520225d9c34d73d3e5beb97e52 (diff)
downloadflatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.tar.gz
flatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.tar.bz2
flatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.zip
Validate C# json/object-api options (#6985)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_code.py b/scripts/generate_code.py
index 7a667d84..39b82856 100755
--- a/scripts/generate_code.py
+++ b/scripts/generate_code.py
@@ -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