fis3-hook-lego
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "fis3-hook-lego", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "lego 包管理模块查找", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,3 +10,3 @@ var _ = fis.util, | ||
lookup: function (id, opts) { | ||
var ver, versions, | ||
var versions, | ||
match = id.match(this.reg), | ||
@@ -53,4 +53,4 @@ lego = fis.project.getProjectPath(root), | ||
} | ||
} | ||
if (!_.isFile(_(lego, pkgName, ver, subFile))) { | ||
@@ -76,3 +76,3 @@ return fis.log.error('lego: 找不到 lego 组件 %s 的对应的文件', id, subFile); | ||
if (_.isDir(path)) { | ||
fs.readdirSync(path).forEach(function(item) { | ||
fs.readdirSync(path).forEach(function (item) { | ||
_listAll[root][item] = true; | ||
@@ -83,3 +83,2 @@ }); | ||
return _listAll[root]; | ||
}; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11523
6