JohnByrneRepo / mddir

Mddir generates a markdown file/folder structure for readme files
Other
215 stars 46 forks source link

done is not defined #12

Open chrissyast opened 4 years ago

chrissyast commented 4 years ago

System info

MacOS 10.15.1

What I've done

Result

/usr/local/lib/node_modules/mddir/src/mddir.js:25
    if (err) return done(err);
             ^

ReferenceError: done is not defined
    at /usr/local/lib/node_modules/mddir/src/mddir.js:25:14
    at FSReqCallback.oncomplete (fs.js:146:23)

Followed this, still get the same

angelod1as commented 4 years ago

This is an error that shows when you throw an invalid folder. Try mddir . to see what happens. Is there any file or folder inside root?