fix: import package even with incorrect 'homePage' casing
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M internal/importer/package.go → internal/importer/package.go
@@ -222,6 +222,10 @@ i++ } meta["platforms"] = plats } + + if meta["homepage"] == nil && meta["homePage"] != nil { + meta["homepage"] = meta["homePage"] + } if meta["homepage"] != nil { switch v := reflect.ValueOf(meta["homepage"]); v.Kind() { case reflect.String: