diff options
author | Derek Bailey <derekbailey@google.com> | 2021-12-13 11:52:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 11:52:01 -0800 |
commit | b78002ff3edf55527ad550dbf0eb1b2717264f8e (patch) | |
tree | 94be801ff261c3ceeee6d0f848f55e95b2f43151 /scripts | |
parent | c555ee8fac95b1520225d9c34d73d3e5beb97e52 (diff) | |
download | flatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.tar.gz flatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.tar.bz2 flatbuffers-b78002ff3edf55527ad550dbf0eb1b2717264f8e.zip |
Validate C# json/object-api options (#6985)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate_code.py | 2 |
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 |