With the following directory tree: ``` +-- test/ | +-- dir | +-- file.js ``` ```js fg.sync('test/**', {onlyFiles: false}); // Result => ['test/dir/', 'test/dir/file.js'] // Should be => ['test', 'test/dir', 'test/dir/file.js'] ``` For example with `node-glob`: ```js glob.sync('test/**', {nodir: false}); // Result => ['test', 'test/dir', 'test/dir/file.js'] ```