dunckr / retext-overuse

Check words for overuse with retext
MIT License
8 stars 4 forks source link

file.warn is not a function #6

Open talaikis opened 5 years ago

talaikis commented 5 years ago

Using Readme example:

TypeError: file.warn is not a function
    at \node_modules\retext-overuse\index.js:96:32
    at visitor (\node_modules\nlcst-search\index.js:119:9)
    at overload (\node_modules\unist-util-visit\index.js:27:12)
    at one (\node_modules\unist-util-visit-parents\index.js:34:25)
    at all (\node_modules\unist-util-visit-parents\index.js:57:16)
    at one (\node_modules\unist-util-visit-parents\index.js:42:28)
    at all (\node_modules\unist-util-visit-parents\index.js:57:16)
    at one (node_modules\unist-util-visit-parents\index.js:42:28)
    at all (\node_modules\unist-util-visit-parents\index.js:57:16)
    at one (\node_modules\unist-util-visit-parents\index.js:42:28

Node: 12.9.1 retext-overuse: 1.1.1