Skip to content

Commit

Permalink
Update scripts/tableland/tasks.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesReate committed May 24, 2024
1 parent b1d59cc commit 273657f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tableland/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ task('sync-tableland', 'npx hardhat sync-tableland --network <networkName>')
tablelandDeviceDefinitionByManufacturers.forEach(element => {
const dds = deviceDefinitionByManufacturers.filter((c) => c.name_slug === element.id);
//console.log(element.ksuid, dds[0].device_definition_id);
if (dds == undefined || dds == 0){
if ((dds?.length ?? 0) == 0){
deleteDeviceDefinitionByManufacturers.push(element);
}
});
Expand Down

0 comments on commit 273657f

Please sign in to comment.