diff --git a/index.js b/index.js index e8717f8..c384c0b 100644 --- a/index.js +++ b/index.js @@ -101,7 +101,9 @@ function parseOpts (opts) { .map(function (f) { try { return fs.readFileSync(path.join(root, f), 'utf8') - } catch (err) {} + } catch (err) { + return null + } }) .filter(Boolean)