i18n-extract icon indicating copy to clipboard operation
i18n-extract copied to clipboard

Error while using findUnused() and findMissing()

Open vidyakhadsareibm opened this issue 6 years ago • 0 comments

Tried the same example as GitHub-

const unused = findUnused({ key1: 'key 1', key2: 'key 2', }, ['key1']);

/node_modules/i18n-extract/lib/findUnused.js:18 if (keyUsed.includes('*')) { ^

TypeError: Cannot read property 'includes' of undefined

vidyakhadsareibm avatar Apr 11 '18 18:04 vidyakhadsareibm