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

Return nil when looking up non-existing products #241

Merged
merged 1 commit into from
Sep 8, 2017

Commits on Sep 8, 2017

  1. Return nil when looking up non-existing products

    When calling `PRODUCT_MATRIX.lookup` for a product that does not exist,
    we'd try to call the `version` method on nil, resulting in an "undefined
    method" error. Now we return nil to the caller early before trying to
    manipulate it.
    
    Signed-off-by: Adam Leff <adam@leff.co>
    adamleff committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    7e75631 View commit details
    Browse the repository at this point in the history