mirror of
https://github.com/apple/pkl.git
synced 2026-03-18 07:13:54 +01:00
This fixes an issue where certain modules tasks fail due to the plugin attempting to analyze their imports, but the arguments may not actually be Pkl modules. For example, the pkldoc task accepts entire packages in its "sourceMoules" property. This changes the gather imports logic to only analyze file-based modules. This is also a performance improvement; non file-based modules are unlikely to import files due to insufficient trust levels. Also: fix a bug when generating pkldoc on Windows