liunian

Results 1 issues of liunian

[_.find](https://github.com/fex-team/fis-kernel/blob/master/lib/util.js#L520) 中存在一个问题,即便 设定了 exclude 某目录,但如果有 include 规则,那么会递归扫描目录下的所有文件。扫描完成后才把所有的文件按照 include、exclude 规则来过滤。 ```js _.find = function(rPath, include, exclude, root){ var list = [], path = _.realpath(rPath), filterPath = root ? path.substring(root.length) : path;...