diff --git a/src/prisma/cli/_node.py b/src/prisma/cli/_node.py index 04484bfa9..df1a26cdd 100644 --- a/src/prisma/cli/_node.py +++ b/src/prisma/cli/_node.py @@ -236,14 +236,16 @@ def __run__( else: raise UnknownTargetError(target=self.target) - # TODO - return func( # type: ignore - args, - check=check, - cwd=cwd, - env=env, - stdout=stdout, - stderr=stderr, + return cast( + subprocess.CompletedProcess[bytes], + func( + args, + check=check, + cwd=cwd, + env=env, + stdout=stdout, + stderr=stderr, + ), ) @property