|
|
@ -95,7 +95,7 @@ |
|
|
|
if (modules && version) { |
|
|
|
if (modules && version) { |
|
|
|
var findVersion = false; |
|
|
|
var findVersion = false; |
|
|
|
for (var j = 0; j < modules.length; j++) { |
|
|
|
for (var j = 0; j < modules.length; j++) { |
|
|
|
var module = modules[i]; |
|
|
|
var module = modules[j]; |
|
|
|
if (module && dependencies[module.moduleId] && module.version === version) { |
|
|
|
if (module && dependencies[module.moduleId] && module.version === version) { |
|
|
|
var minVersion = dependencies[module.moduleId].minVersion, |
|
|
|
var minVersion = dependencies[module.moduleId].minVersion, |
|
|
|
maxVersion = dependencies[module.moduleId].maxVersion; |
|
|
|
maxVersion = dependencies[module.moduleId].maxVersion; |
|
|
|