diff --git a/basedpyright/run_node.py b/basedpyright/run_node.py index 42c0e86a49..08e9369a8d 100644 --- a/basedpyright/run_node.py +++ b/basedpyright/run_node.py @@ -7,4 +7,4 @@ def run(script_name: str): - _ = node.run([Path(__file__).parent / f"{script_name}.js", *sys.argv[1:]]) + sys.exit(node.call([Path(__file__).parent / f"{script_name}.js", *sys.argv[1:]]))