emotion-js / emotion-js/facepaint

remove literal check

Open
#29 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
594
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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

Here, literal is not required, as on [line 22](https://github.com/emotion-js/facepaint/compare/master...bhanuprasadcherukuvada:facepaint:literal_check_rm?expand=1#diff-bfe9874d239014961b1ae4e89875a6155667db834a410aaaa2ebe3cf89820556L22) 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.