Closed Aareksio closed 5 months ago
Attention: 9 lines
in your changes are missing coverage. Please review.
Comparison is base (
be4b092
) 53.61% compared to head (daf8729
) 56.02%.
Files | Patch % | Lines |
---|---|---|
src/storage/node-fs.ts | 84.21% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Re error, i mainly used new codes for each driver to make debugging easier against user setups.
Thanks again! I have pushed few refactors to make it mergable hope you are happy with them and any PR more than welcome to improve โค๏ธ
Thank you! I love how you used scoped fs
by returning read
function. Perhaps I shouldn't have overthinked the forbidden path, you are right this implies invalid configuration :)
I'll push updates to https://github.com/nuxt/image/pull/1177
๐ Linked issue
https://github.com/nuxt/image/pull/1177
โ Type of change
๐ Description
As discussed, add support for serving files from multiple directories. At the moment of posting this PR the code scans dirs in order and returns first found file, meaning earlier dirs take precedence.
There are no docs in this repository mentioning programatic use of
dir
and the change is backwards compatible.๐ Checklist