We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa53e22 commit c58d1caCopy full SHA for c58d1ca
1 file changed
scripts/properties_to_json.py
@@ -90,6 +90,13 @@
90
version not in existing_item["versions"]
91
), f"CodeMeta {version} has duplicated property {item}"
92
existing_item["versions"].append(version)
93
+
94
+ # values from newer versions of properties_description.json take precedence
95
+ # over new ones
96
+ if item["Type"]:
97
+ existing_item["Type"] = item["Type"]
98
+ if item["Description"]:
99
+ existing_item["Description"] = item["Description"]
100
break
101
else:
102
# No similar item, create a new one
0 commit comments