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

Cannot read property '0' of null #103

Open
scibuff opened this issue Mar 16, 2021 · 3 comments
Open

Cannot read property '0' of null #103

scibuff opened this issue Mar 16, 2021 · 3 comments

Comments

@scibuff
Copy link

scibuff commented Mar 16, 2021

const s = "["

filter.clean(s)
TypeError: Cannot read property '0' of null
    at Filter.clean (........\node_modules\bad-words\lib\badwords.js:58:41)
@aroman
Copy link

aroman commented Mar 23, 2021

also fails on ":)"

@aroman
Copy link

aroman commented Mar 23, 2021

Looks like there's an open PR that would fix this: #95

@web-mech any chance that can be merged?

@0933322888
Copy link

+1 to catch the error

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

3 participants