Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Commit

Permalink
the beter to compare to echo
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 15, 2012
1 parent d20f4dd commit a2b1918
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion g.js
@@ -1,6 +1,9 @@
var MG = require("./").Miniglob

var mg = new MG("a/**/[cg]/../[cg]", {mark: true})
var pattern = "test/a/**/[cg]/../[cg]"
console.log(pattern)

var mg = new MG(pattern, {mark: true})
mg.on("end", function (matches) {
console.log("matches", matches)
})

0 comments on commit a2b1918

Please sign in to comment.