How about getting rid of `recursive` and do this?

```js
var globExpr = ((type === 'less') ? '/**/*' : '/*');
```