When I run the following cmd to generate Python SDK, typespec compiler reports error. However, tsp-client doesn't return none zero return code when I call it in subprocess. It brings trouble for automation since pipeline need to check whether the SDK generation is successful or not.
PS D:\dev\azure-sdk-for-python> tsp-client init -c https://github.com/Azure/azure-rest-api-specs/blob/0eb061fdfe4d366139b760f9bdf633088b4262cc/specification/ai/DocumentIntelligence/tspconfig.yaml
Expected behavior:
if tsp-client check that there is error reported, return non zero code.
nit: tsp-client is developed with Typescript while I am not familiar with Typescript. For Python, it is sys.exit(1)
When I run the following cmd to generate Python SDK, typespec compiler reports error. However, tsp-client doesn't return none zero return code when I call it in subprocess. It brings trouble for automation since pipeline need to check whether the SDK generation is successful or not.
Expected behavior:
if tsp-client check that there is error reported, return non zero code.
nit: tsp-client is developed with Typescript while I am not familiar with Typescript. For Python, it is
sys.exit(1)