architectury / architectury-transformer

The transformer backend to transform common module to platform-specific loadable mods.
MIT License
4 stars 12 forks source link

[1.20.4] [All] Exception when removing duplicates modules on windows #24

Open Edouard127 opened 3 months ago

Edouard127 commented 3 months ago

Recently, a new error arose on Architectury transformer 5.2.87 The suspected commit is b79d342, this is the one that introduced the method to remove duplicate modules on SecureModuleFinder

Full stacktrace https://mclo.gs/jiHmNgx

Additional info:

Edouard127 commented 3 months ago

The issue is actually caused by the OS path separator On linux the separator is / whereas windows has \\

Userhunt commented 2 months ago

Same for fabric