openapi-ts
openapi-ts copied to clipboard
Running Prettier doesn't report error when it can't find prettier
Description
Here's the output:
$ pnpm openapi-ts /tmp/my-api.json
✨ Creating Fetch client
✨ Running Prettier
✨ Running ESLint
✨ Done! Your client is located in: <redacted>
however, there's no prettier installed. I would expect it to at least output a warning when it can't actually run prettier.
Reproducible example or configuration
https://stackblitz.com/edit/hey-api-client-fetch-example
OpenAPI specification (optional)
No response
System information (optional)
No response