From d0e26c746fead2d8fe8076e11f810e7403025bfd Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 29 Dec 2024 15:57:06 -0600 Subject: [PATCH] Add null contitional operator to installers.installer.InstallerType --- src/WingetCreateCLI/PromptHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WingetCreateCLI/PromptHelper.cs b/src/WingetCreateCLI/PromptHelper.cs index 40ebb5bf..d5a3269d 100644 --- a/src/WingetCreateCLI/PromptHelper.cs +++ b/src/WingetCreateCLI/PromptHelper.cs @@ -477,7 +477,7 @@ private static List GenerateInstallerSelectionList(List insta var installerTuple = string.Join(" | ", new[] { installer.Architecture.ToEnumAttributeValue(), - installer.InstallerType.ToEnumAttributeValue(), + installer.InstallerType?.ToEnumAttributeValue(), installer.Scope?.ToEnumAttributeValue(), installer.InstallerLocale, installer.InstallerUrl,