Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sanitize from Crate constructor #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hackerESQ
Copy link

@hackerESQ hackerESQ commented Feb 17, 2024

Hey @bcollazo -- this is a fantastic library!

The sanitize method you're using when creating new Crate objects breaks subcrates, which are formatted with %% as an indicator of nesting (e.g. NOSTALGIA FACTORY%%1950's.crate where 1950's is nested under NOSTALGIA FACTORY).

I heavily use subcrates and this library was unable to access / manage my subcrates. Curious what issues caused the need for sanitize? Or if it was just a precaution?

If the latter, removing sanitize provides additional functionality for this library.

FYI - I'm using your library in a cli util to programmatically update file paths for my entire library.

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