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

Check that package.xml exists before trying to read it. #33

Merged
merged 3 commits into from
Mar 24, 2019

Conversation

henroth
Copy link
Contributor

@henroth henroth commented Feb 25, 2019

Very old packages/stacks may not have a package.xml, but ROS will report them as existing packages. This will cause flexbe_app to fail silently and any packages left to be parsed will be skipped.

This patch addresses the issue by checking that package.xml exists before reading this.

Just a note, I don't really know anything about javascript/Node.js so there may be a much better way of handling this, but it worked for my use case.

@pschillinger pschillinger changed the base branch from master to develop March 24, 2019 17:01
@pschillinger
Copy link
Member

Thank you for spotting this and fixing it!

@pschillinger pschillinger merged commit a8882d7 into FlexBE:develop Mar 24, 2019
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