Please describe the minimum necessary steps to reproduce this issue:
The example given in README for API some is not working as intended.
Link to example in REPL
const mm = require('micromatch');
// mm.some(list, patterns[, options]);
console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
// true
console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
// should be false returning true
What is happening that shouldn't be?
Second case is matching true incorrectly
What should be happening instead?
Second case should match false
Node - v8.16.0
micromatch: "^4.0.2"
Please describe the minimum necessary steps to reproduce this issue:
The example given in README for API
someis not working as intended.Link to example in REPL
What is happening that shouldn't be?
Second case is matching
trueincorrectlyWhat should be happening instead?
Second case should match
false