v3-installer
Advanced tools
Comparing version 1.0.22 to 1.0.23
{ | ||
"name": "v3-installer", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "v3二次开发插件安装器", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -310,8 +310,12 @@ const pathUtils = require('./PathUtils'); | ||
let deps = userCfg.dependencies.concat(userCfg.require); | ||
deps.forEach(dep => { | ||
let path = this.getDepNodeDir(dep.name) + PathSep + v3CfgName; | ||
if (fs.existsSync(path)) { | ||
depV3rc[dep.name] = JSON.parse(fs.readFileSync(path)); | ||
} | ||
}); | ||
if (deps) { | ||
deps.forEach(dep => { | ||
if (dep) { | ||
let path = this.getDepNodeDir(dep.name) + PathSep + v3CfgName; | ||
if (fs.existsSync(path)) { | ||
depV3rc[dep.name] = JSON.parse(fs.readFileSync(path)); | ||
} | ||
} | ||
}); | ||
} | ||
} | ||
@@ -318,0 +322,0 @@ return depV3rc; |
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
83503
25
2165