Skip to content

Commit

Permalink
Fix a FS3548 'Pattern discard is not allowed for union case that take…
Browse files Browse the repository at this point in the history
…s no data.' compiler warning (#2824)
  • Loading branch information
Numpsy authored Sep 22, 2024
1 parent 3a3e00c commit 9404e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Fake.DotNet.Cli/CreateProcessExt.fs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module CreateProcessDotNetExt =
/// </example>
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
Expand Down

0 comments on commit 9404e21

Please sign in to comment.