openapi-ts icon indicating copy to clipboard operation
openapi-ts copied to clipboard

Running Prettier doesn't report error when it can't find prettier

Open baraknaveh opened this issue 6 months ago • 1 comments

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

baraknaveh avatar Aug 23 '24 18:08 baraknaveh