Skip to content

Conversation

mart-r
Copy link
Collaborator

@mart-r mart-r commented Jul 18, 2025

During model pack load, all folders are attempted to be deserialised.
However, if there's hidden / unexpected files, those could mess things up because they're not in the expected format.

This PR will fix the above by ignoring hidden (.-prefixed) folders when loading model packs.

The test added failed without this change.

The change itself was pretty trivial.

@mart-r mart-r merged commit 2e7b390 into main Jul 18, 2025
18 checks passed
@mart-r mart-r deleted the CU-8699vnuwf-ignore-hidden-files-when-loading branch July 18, 2025 13:45
mart-r added a commit that referenced this pull request Jul 18, 2025
* CU-8699vnuwf: Ignore hidden files/folders when loading model pack

* CU-8699vnuwf: Add a test to make sure model pack can be loaded with hidden file/folders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant