Skip to content

Commit

Permalink
[pyright] check=False subprocess output (#16609)
Browse files Browse the repository at this point in the history
## Summary & Motivation

🤦 

## How I Tested These Changes

`make pyright`
  • Loading branch information
smackesey authored Sep 19, 2023
1 parent 3b59f9b commit 373510e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-pyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def run_pyright(
shell_cmd = " \\\n".join([base_pyright_cmd, *[f" {p}" for p in paths or []]])
print(f"Running pyright for environment `{env}`...")
print(f" {shell_cmd}")
result = subprocess.run(shell_cmd, capture_output=True, shell=True, text=True, check=True)
result = subprocess.run(shell_cmd, capture_output=True, shell=True, text=True, check=False)
try:
json_result = json.loads(result.stdout)
except json.JSONDecodeError:
Expand Down

0 comments on commit 373510e

Please sign in to comment.