Skip to content

Conversation

@HeroponRikiBestest
Copy link
Contributor

I had one minor oversight in my existing implementation- if you scan a top-level directory/archive with protection, and it's the only thing that winds up having protection, nested json output crashes since it's expected that

if (!dict.ContainsKey(path))
    dict[path] = new Dictionary<string, object>();

would have ran, but that code hasn't been reached yet.
This issue only really impacted cases where nested json isn't needed anyways, but I'd still rather not leave faulty code in this function, especially if it gets moved to serialization later.

@mnadareski mnadareski merged commit 973b011 into SabreTools:master Dec 2, 2025
1 check passed
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.

2 participants