From d102ef3776c55c07e46944d1b1f92fb08ae72659 Mon Sep 17 00:00:00 2001 From: Volker Milbrandt Date: Thu, 2 Apr 2020 21:27:25 +0200 Subject: [PATCH] typo --- build.fsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.fsx b/build.fsx index c640d98240b..85378a986d3 100644 --- a/build.fsx +++ b/build.fsx @@ -201,7 +201,7 @@ let restoreTools = let callpaket wd args = restoreTools() - + let res = DotNet.exec (dtntWorkDir wd) "paket" args if not res.OK then failwithf "paket failed to start: %A" res @@ -373,7 +373,7 @@ Target.create "StartBootstrapBuild" (fun _ -> let formatState (state:Octokit.CommitStatus) = sprintf "{ State: %O, Description: %O, TargetUrl: %O }" state.State state.Description state.TargetUrl - let result = + let result = async { let! client = GitHub.createClientWithToken token let mutable whileResult = None @@ -400,7 +400,7 @@ Target.create "StartBootstrapBuild" (fun _ -> do! doWait() match whileResult with | Some r -> return r - | None -> + | None -> // time is up let! combStatus = client.Repository.Status.GetCombined(github_release_user, gitName, sha) |> Async.AwaitTask return @@ -612,14 +612,14 @@ let startWebServer () = if portIsTaken then findPort (port + 1) else port let port = findPort 8083 - + let inline (@@) a b = Suave.WebPart.concatenate a b let mimeTypes = Suave.Writers.defaultMimeTypesMap @@ (function | ".avi" -> Suave.Writers.createMimeType "video/avi" false | ".mp4" -> Suave.Writers.createMimeType "video/mp4" false - | _ -> None) + | _ -> None) let serverConfig = { Suave.Web.defaultConfig with homeFolder = Some (Path.GetFullPath docsDir) @@ -831,7 +831,7 @@ Target.create "_DotNetPackage" (fun _ -> let nugetDir = System.IO.Path.GetFullPath nugetDncDir // This lines actually ensures we get the correct version checked in // instead of the one previously bundled with `fake` or `paket` - callpaket "." "restore" // first make paket restire its target file if it feels like it. + callpaket "." "restore" // first make paket restore its target file if it feels like it. Git.CommandHelper.gitCommand "" "checkout .paket/Paket.Restore.targets" // now restore ours restoreTools()