k0dard

Results 3 comments of k0dard

### UPDATE If I call my script without arguments `node make-it-modular.js` the error indeed isn't passed to main file - I get: ``` internal/fs/utils.js:634 throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'],...

The "problem" was in the line `const {readdir} = require('fs')` When I replaced it with `const fs = require('fs')` and also changed the call (from readdir(...) to fs.readdir(...) the tests...

/kind documentation