Skip to content

opam: Handle missing fields in package metadata

The get_enclosed_fields method does not return fields with no value so we need to use the dictionary get method to avoid raising KeyError and fix the loading of packages with missing metadata.

Fixes SWH-LOADER-CORE-1NX and SWH-LOADER-CORE-1NV.

Merge request reports