mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-19 20:28:54 +03:00
8c0f05f61b
closes #10187 Fixes the behavior of mapped resources generating extra directory, for example: `"../resources/user.json": "resources/user.json"` generates this resource `resources/user.json/user.json` where it should generate `resources/user.json` This PR includes a refactor of the Iterator implementation which splits it into more scoped functions and relis on recursing instead of a loop which makes the code a lot more readable and easier to maintain.
290 B
290 B
tauri-utils |
---|
patch:bug |
Fix ResourcePaths
iterator returning an unexptected result for mapped resources, for example "../resources/user.json": "resources/user.json"
generates this resource resources/user.json/user.json
where it should generate just resources/user.json
.