diff --git a/src/WingetCreateCLI/PromptHelper.cs b/src/WingetCreateCLI/PromptHelper.cs index a5923d47..2a26f074 100644 --- a/src/WingetCreateCLI/PromptHelper.cs +++ b/src/WingetCreateCLI/PromptHelper.cs @@ -416,7 +416,7 @@ public static void PromptList(string message, object model, string memberName // Trim values if we have List if (instanceType == typeof(string)) { - value = (IEnumerable)value.Select(v => v.ToString().Trim()); + value = (IEnumerable)value.Select(v => v.ToString().Trim()).ToList(); } }