fis3-hook-lego
Advanced tools
Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "fis3-hook-lego", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "lego 包管理模块查找", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ var _ = fis.util, | ||
module.exports = { | ||
reg: /^lego_modules\/([a-zA-Z0-9-_]+)(@\d+\.\d+\.\d+)?\/(.*)$/, | ||
reg: /^[\.\/]*?lego_modules\/([a-zA-Z0-9-_]+)(@\d+\.\d+\.\d+)?\/(.*)$/, | ||
lookup: function (id, opts) { | ||
@@ -56,3 +56,3 @@ var versions, | ||
if (!_.isFile(_(lego, pkgName, ver, subFile))) { | ||
return fis.log.error('lego: 找不到 lego 组件 %s 的对应的文件', id, subFile); | ||
return fis.log.info('lego: 找不到 lego 组件 %s 的对应的文件', id, subFile); | ||
} | ||
@@ -59,0 +59,0 @@ |
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
11530