indefinite icon indicating copy to clipboard operation
indefinite copied to clipboard

Incorrect indefinite article when the word is quoted

Open Yihao-G opened this issue 7 months ago • 1 comments

Hi, firstly, thanks for the great work.

I noticed an issue that the library will always use 'a' if the word is quoted:

var a = require("indefinite")

a('\'email\'') // => a
a('"email"') // => a

And in those cases, it should use 'an' instead.

Yihao-G avatar Nov 29 '23 02:11 Yihao-G