diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index ddde371..c906f10 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -9,7 +9,7 @@ ] }, "fantomas": { - "version": "6.2.3", + "version": "6.3.0", "commands": [ "fantomas" ] diff --git a/src/CliWrap.FSharp/PipeBuilder.fs b/src/CliWrap.FSharp/PipeBuilder.fs index d68df98..d2fa119 100644 --- a/src/CliWrap.FSharp/PipeBuilder.fs +++ b/src/CliWrap.FSharp/PipeBuilder.fs @@ -53,10 +53,8 @@ type PipeBuilder() = [] member this.Combine - ( - source: Command, - (stdout: string -> CancellationToken -> Task, stderr: string -> CancellationToken -> Task) - ) = + (source: Command, (stdout: string -> CancellationToken -> Task, stderr: string -> CancellationToken -> Task)) + = this.Combine(source, (PipeTarget.ToDelegate(stdout), PipeTarget.ToDelegate(stderr))) []