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

remove literal check #29

Open
bhanufyi opened this issue Oct 10, 2022 · 0 comments
Open

remove literal check #29

bhanufyi opened this issue Oct 10, 2022 · 0 comments

Comments

@bhanufyi
Copy link

https://github.com/emotion-js/facepaint/blob/master/src/index.js#L22-L24

Here, literal is not required, as on line 22 if the item is not an Array then we convert it to Array.
So, checking if the item is an array or not should be sufficient.

#28

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

1 participant