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

Crash when meta.xml is invalid #7

Open
LocoDelAssembly opened this issue Sep 27, 2020 · 1 comment
Open

Crash when meta.xml is invalid #7

LocoDelAssembly opened this issue Sep 27, 2020 · 1 comment

Comments

@LocoDelAssembly
Copy link
Contributor

This line causes a NoMethodError (undefined method ``name' for nil:NilClass) when xml is invalid/empty.

{ result.root.name.to_sym => self::Node.new(result.root).value }

Sample file

@dimus
Copy link
Member

dimus commented Sep 29, 2020

@LocoDelAssembly can you send a PR for this?

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

No branches or pull requests

2 participants