snyk 1.862.0 → 1.863.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/562.index.js
CHANGED
|
@@ -183246,14 +183246,6 @@ function getRootProject(text, withDev) {
|
|
|
183246
183246
|
packageFormatVersion: 'mvn:0.0.1',
|
|
183247
183247
|
};
|
|
183248
183248
|
const root = Object.assign(Object.assign({}, defaultRoot), rootProject);
|
|
183249
|
-
// Add any subsequent projects to the root as dependencies
|
|
183250
|
-
for (let i = 1; i < projects.length; i++) {
|
|
183251
|
-
const project = getProject(projects[i], withDev);
|
|
183252
|
-
if (project && project.name) {
|
|
183253
|
-
root.dependencies = {};
|
|
183254
|
-
root.dependencies[project.name] = project;
|
|
183255
|
-
}
|
|
183256
|
-
}
|
|
183257
183249
|
return root;
|
|
183258
183250
|
}
|
|
183259
183251
|
function getProject(projectDump, withDev) {
|