Fix manufacturerName removed by updateall.js. https://github.com/Koenkk/zigbee-OTA/issues/62

This commit is contained in:
Koen Kanters
2021-11-16 18:56:36 +01:00
parent 0431775a3a
commit e7138f0a28

View File

@@ -99,7 +99,7 @@ const main = async () => {
if (index !== -1) {
console.log(`Updated existing entry (${JSON.stringify(entry)})`);
indexJSON[index] = entry;
indexJSON[index] = {...indexJSON[index], ...entry};
if (entry.path && entry.path !== destination) {
try {