screwdriver-api 8.0.63 → 8.0.64
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/package.json
CHANGED
|
@@ -172,10 +172,12 @@ module.exports = () => ({
|
|
|
172
172
|
const newBadges = {};
|
|
173
173
|
|
|
174
174
|
Object.keys(oldPipeline.badges).forEach(badgeKey => {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
if (badges[badgeKey] && Object.keys(badges[badgeKey]).length > 0) {
|
|
176
|
+
newBadges[badgeKey] = {
|
|
177
|
+
...oldPipeline.badges[badgeKey],
|
|
178
|
+
...badges[badgeKey]
|
|
179
|
+
};
|
|
180
|
+
}
|
|
179
181
|
});
|
|
180
182
|
|
|
181
183
|
oldPipeline.badges = newBadges;
|