From f4d0b4b59c101b07747bf1fd1175561252108abb Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 28 Oct 2020 10:01:08 -1000 Subject: [PATCH] standard --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)