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

notOptFields.indexOf(field) #38

Merged

Conversation

bluelovers
Copy link
Contributor

No description provided.

@domharrington
Copy link
Owner

Hey! What's the problem that this is fixing? Was this a bug?

@bluelovers
Copy link
Contributor Author

@domharrington bug because field is string, notOptFields is array

u are trying string.indexOf(array)

i think it should is array.indexOf(string)

@domharrington
Copy link
Owner

I can't actually remember what the purpose of that code is. I think you're right but i'm not sure why it exists anyway?

@hipstersmoothie hipstersmoothie merged commit 79e1dfc into domharrington:master Mar 7, 2020
@hipstersmoothie
Copy link
Collaborator

🚀 PR was released in v3.3.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants