isaacs/node-glob — Issue #32: `cwd` option not used on second call
Author: cadorn
Created: 2012-01-23 21:22:00+00:00
State: open

This works:

GLOB(path1 + "/**", {
cwd: path1
}, function (err, files)
{
});

GLOB(path2 + "/**", {
cwd: path2
}, function (err, files)
{
});

This does **NOT** work but should:

GLOB("**", {
cwd: path1
}, function (err, files)
{
});

GLOB("**", {
cwd: path2
}, function (err, files)
{
});