Fix #31956 - $(basename) globs ignored by filesearch.ts

This commit is contained in:
Rob Lourens 2017-08-11 17:30:33 -07:00
parent 5c58b8cb2d
commit 611b1a591d

View file

@ -697,10 +697,10 @@ class AbsoluteAndRelativeParsedExpression {
.forEach(key => {
if (path.isAbsolute(key)) {
absoluteGlobExpr = absoluteGlobExpr || glob.getEmptyExpression();
absoluteGlobExpr[key] = true;
absoluteGlobExpr[key] = expr[key];
} else {
relativeGlobExpr = relativeGlobExpr || glob.getEmptyExpression();
relativeGlobExpr[key] = true;
relativeGlobExpr[key] = expr[key];
}
});