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

Fix match_array to truly accept non-array #213

Merged
merged 1 commit into from
Feb 4, 2024
Merged

Commits on Feb 4, 2024

  1. Fix match_array to truly accept non-array

    Previously, it was noticed that `match_array` raised an error when given
    a single, non-array argument as opposed to an array (which is the
    documented usage). An attempt was made to fix this; however, the
    conditional added to `match_array` only checked that the single argument
    was a string. This commit matches the original implementation of
    `match_array` by accepting any type of non-array, not just a string.
    
    Co-authored-by: wata_mac <watassbass@gmail.com>
    mcmire and wata727 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    9465e9f View commit details
    Browse the repository at this point in the history