From 9404e21df7108fbc79f6e6d386d97f89e92645e0 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 22 Sep 2024 14:24:36 +0100 Subject: [PATCH] Fix a FS3548 'Pattern discard is not allowed for union case that takes no data.' compiler warning (#2824) --- src/app/Fake.DotNet.Cli/CreateProcessExt.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Fake.DotNet.Cli/CreateProcessExt.fs b/src/app/Fake.DotNet.Cli/CreateProcessExt.fs index f6b5afad4c0..4390b3cd02e 100644 --- a/src/app/Fake.DotNet.Cli/CreateProcessExt.fs +++ b/src/app/Fake.DotNet.Cli/CreateProcessExt.fs @@ -156,7 +156,7 @@ module CreateProcessDotNetExt = /// let withToolType (toolType: ToolType) (c: CreateProcess<_>) = match toolType with - | ToolType.FullFramework _ -> c |> CreateProcess.withFramework + | ToolType.FullFramework -> c |> CreateProcess.withFramework | ToolType.FrameworkDependentDeployment dotnetOptions -> // dotnet ToolPath (can be a dll) c |> DotNet.prefixProcess dotnetOptions.Options [ c.Command.Executable ] | ToolType.SelfContainedDeployment // just ToolPath