@eclipse-che/plugin-registry-generator
Advanced tools
Comparing version 7.36.1 to 7.36.2
@@ -132,2 +132,5 @@ "use strict"; | ||
} | ||
components = components.filter(function (item, pos, self) { | ||
return self.findIndex(value => value.name === item.name) === pos; | ||
}); | ||
devfileYaml.components = components; | ||
@@ -134,0 +137,0 @@ return devfileYaml; |
{ | ||
"name": "@eclipse-che/plugin-registry-generator", | ||
"version": "7.36.1", | ||
"version": "7.36.2", | ||
"description": "Generator of yaml files exposed by the plug-in registry.", | ||
@@ -5,0 +5,0 @@ "main": "lib/entrypoint.js", |
@@ -182,2 +182,10 @@ /********************************************************************** | ||
} | ||
// remove duplicated components, e.g. plugins | ||
// container and init container may provide two volumes with the same name | ||
// and it is enough to have in components list only one volume definition | ||
components = components.filter(function (item, pos, self) { | ||
return self.findIndex(value => value.name === item.name) === pos; | ||
}); | ||
devfileYaml.components = components; | ||
@@ -184,0 +192,0 @@ return devfileYaml; |
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
553016
183
5972