From 4704c76b9e30b2af48c7b09b6df96a0d956c63b5 Mon Sep 17 00:00:00 2001 From: Daniil Pavliuchyk Date: Tue, 17 Dec 2024 21:31:06 +0200 Subject: [PATCH] chore: Address Review --- UnoCheck/CheckCommand.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnoCheck/CheckCommand.cs b/UnoCheck/CheckCommand.cs index f9eac4b..d3003ce 100644 --- a/UnoCheck/CheckCommand.cs +++ b/UnoCheck/CheckCommand.cs @@ -106,7 +106,8 @@ public override async Task ExecuteAsync(CommandContext context, CheckSettin settings.TargetPlatforms = ParseTfmsToTargetPlatforms(settings); if (!string.IsNullOrEmpty(settings.Ide)) { - var currentSkips = settings.Skip == null ? [] : settings.Skip.ToList(); + var currentSkips = settings.Skip?.ToList() ?? []; + switch (settings.Ide.ToLowerInvariant()) { case "rider":