diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 3c9344f..44ddf78 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -10,7 +10,7 @@ "rollForward": false }, "fable": { - "version": "5.13.0", + "version": "5.16.0", "commands": [ "fable" ], diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..13b52e2 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,6 @@ + + + false + true + + diff --git a/paket.dependencies b/paket.dependencies index a1ef235..54c1560 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -6,7 +6,7 @@ framework: netstandard2.0 nuget FSharp.Core >= 5.0.0 lowest_matching: true nuget Fable.Core >= 5.2.0 -nuget Fable.Beam >= 5.0.0-rc.37 +nuget Fable.Beam >= 5.0.0 group Test source https://api.nuget.org/v3/index.json @@ -15,4 +15,4 @@ group Test nuget FSharp.Core nuget Fable.Core >= 5.2.0 - nuget Fable.Beam >= 5.0.0-rc.37 + nuget Fable.Beam >= 5.0.0 diff --git a/paket.lock b/paket.lock index 360c688..0dd962d 100644 --- a/paket.lock +++ b/paket.lock @@ -2,7 +2,7 @@ STORAGE: NONE RESTRICTION: == netstandard2.0 NUGET remote: https://api.nuget.org/v3/index.json - Fable.Beam (5.0.0-rc.37) + Fable.Beam (5.0) Fable.Core (>= 5.0) FSharp.Core (>= 5.0) Fable.Core (5.2) @@ -14,7 +14,7 @@ STORAGE: NONE RESTRICTION: == net10.0 NUGET remote: https://api.nuget.org/v3/index.json - Fable.Beam (5.0.0-rc.37) + Fable.Beam (5.0) Fable.Core (>= 5.0) FSharp.Core (>= 5.0) Fable.Core (5.2) diff --git a/src/Fable.Logging/Common.fs b/src/Fable.Logging/Common.fs index 6ae803a..465f9af 100644 --- a/src/Fable.Logging/Common.fs +++ b/src/Fable.Logging/Common.fs @@ -18,10 +18,7 @@ module Common = let afterOpen = format.Substring(i + 1) let closeIdx = afterOpen.IndexOf('}') - if - closeIdx > 0 - && argIndex < args.Length - then + if closeIdx > 0 && argIndex < args.Length then let name = afterOpen.Substring(0, closeIdx) let value = args.[argIndex] parameters[name] <- value