Description
The CLI correctly prints an error but then doesn't not exit with an error status meaning that CI tooling fails to report breakage caused by changes in config
Reproducible example or configuration
npx @hey-api/openapi-ts@v0.98.1 -i does_not_exist.json -o ./sdk
echo $#
Output:
@hey-api/openapi-ts v0.98.1
[Job 1] ~ Generating...
[Job 1] [1] does_not_exist.json
[Job 1] ❌ Input file not found:
/Users/jarpoole//test.json
Please verify that:
• The file exists
• The path is correct
• You have read permissions
0
System information (optional)
MacOS Tahoe
Node 24
Description
The CLI correctly prints an error but then doesn't not exit with an error status meaning that CI tooling fails to report breakage caused by changes in config
Reproducible example or configuration
Output:
@hey-api/openapi-ts v0.98.1
[Job 1] ~ Generating...
[Job 1] [1] does_not_exist.json
[Job 1] ❌ Input file not found:
/Users/jarpoole//test.json
Please verify that:
• The file exists
• The path is correct
• You have read permissions
0
System information (optional)
MacOS Tahoe
Node 24