From ef93e9390412e9919786d496857d06e91a7090aa Mon Sep 17 00:00:00 2001 From: Aymeric Beaumet Date: Tue, 20 Aug 2019 01:24:28 +0200 Subject: [PATCH] docs: add comment about shallow flattening --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bc32a7e..d25e044 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ function gathererFromSearchPaths(rootPath, searchPaths, pattern) { return done(error) } - return done(null, [].concat(...filesContents)) + return done(null, [].concat(...filesContents)) // shallow flatten } ) }