prettier
2b761b6a - Remove unnecessary expression (#7648)

Commit
6 years ago
Remove unnecessary expression (#7648) Since wordPart is checked for falsiness on the previous line, it will always evaluate to an empty string. The expression in the parentheses will then evaluate to `"" || ""`, which I assume is not desired. Ref: https://lgtm.com/projects/g/prettier/prettier/snapshot/ecfc5e9b8320d79ed8a801d811e0a63892b040d0/files/src/printer-postcss.js?sort=name&dir=ASC&mode=heatmap#L468
Author
Parents
Loading