From 36a1fd5ccb8ee08c25dafbe2b4e660cd99c452ba Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Wed, 31 Jul 2024 12:55:55 -0500 Subject: [PATCH] Massage licenses from SpaceDock --- Netkan/Transformers/SpacedockTransformer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netkan/Transformers/SpacedockTransformer.cs b/Netkan/Transformers/SpacedockTransformer.cs index a3d310621..805264d59 100644 --- a/Netkan/Transformers/SpacedockTransformer.cs +++ b/Netkan/Transformers/SpacedockTransformer.cs @@ -106,7 +106,7 @@ private Metadata TransformOne(Metadata metadata, JObject json, SpacedockMod sdMo // "GPLv3" - Becomes "GPL-3.0" // "LGPL" - Specific version is indeterminate - var sdLicense = sdMod.license.Trim(); + var sdLicense = sdMod.license.Trim().Replace(' ', '-'); switch (sdLicense) {