Hi.
I was expecting glob to recursively list all files and (internally) reject all that don't match provided pattern. However, given following actions taken:
git clone https://github.com/ama-team/voxengine-sdk.git
cd voxengine-sdk
git checkout f2a0af
npm i glob-fs -D # installed version: 0.1.7
cat <<EOF > index.js
var glob = require('glob-fs')
glob().readdirPromise('test/**/*.spec.js')
.then(console.log.bind(console));
EOF
node index.js
Hi. I was expecting glob to recursively list all files and (internally) reject all that don't match provided pattern. However, given following actions taken:
I have following output:
Looks like it's either me misinterpreting how this package is designed to work (and all of the above is valid output) or a bug