Replies: 1 comment
-
fixed with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🍶 Errors should be clarified
🍶 fs-extra, /lib/fs-utils, outputFile, writeFile
https://github.com/anymaniax/orval/blob/master/docs/src/lib/fs-utils.js here's a file used in a single place.
https://github.com/anymaniax/orval/blob/master/src/core/writers/schemas.ts#L55
Looks like there could be more consistent way to save output files. It might be joined with file paths resolving. If you use outputFile, that could be used everywhere, and since that no need to create directories.
Beta Was this translation helpful? Give feedback.
All reactions