-
-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
Description
This seems like a bug to me, intuitively, but I don't see it addressed in the docs anywhere:
var minimatch = require("minimatch");
minimatch("foo/bar.js", "**/foo/**") // true
minimatch("./foo/bar.js", "./**/foo/**") // true
minimatch("./foo/bar.js", "**/foo/**") // false
Shouldn't the last example return true
because **/
should match ./
?
sindresorhus, dungdm93, joseluis, bdukes, eliranmal and 11 more
Metadata
Metadata
Assignees
Labels
No labels