Comma lists methods don't work when an array has one item
LucianBuzzo opened this issue · comments
Lucian Buzzo commented
Given the following code
import { oneLineCommaListsAnd } from 'common-tags'
console.log(oneLineCommaListsAnd`${['foo']}`)
I would expect the output to be foo
, but the ourput is acutally andfoo
.