We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This error is thrown at: https://github.com/bugcrowd/vrt-ruby/blob/master/lib/vrt/map.rb#L21:
def find_node(string, max_depth: 'variant') # return nil unless valid_identifier?(string) @_found_nodes[string + max_depth] ||= walk_node_tree(string, max_depth: max_depth) end
NoMethodError: undefined method `+' for nil:NilClass # ./lib/vrt/map.rb:22:in `find_node'
TypeError: String can't be coerced into Fixnum # ./lib/vrt/map.rb:22:in `+' # ./lib/vrt/map.rb:22:in `find_node'
Should be fine to just return nil in these cases since that is what we do when no node can be found.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This error is thrown at: https://github.com/bugcrowd/vrt-ruby/blob/master/lib/vrt/map.rb#L21:
when param: string == nil
when param: !string.is_a? String
Should be fine to just return nil in these cases since that is what we do when no node can be found.
The text was updated successfully, but these errors were encountered: