Skip to content

Commit

Permalink
Fix a few more FS3548 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Sep 22, 2024
1 parent 050e199 commit 0103965
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/Fake.Core.CommandLineParsing/docopt.fs/Docopt/Ast.fs
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,19 @@ type UsageAstBuilder =

member x.UsageTag =
match x with
| UsageAstBuilder.Eps _ -> Tag.Eps
| UsageAstBuilder.Eps -> Tag.Eps
| UsageAstBuilder.Ano _ -> Tag.Ano
| UsageAstBuilder.Sop _ -> Tag.Sop
| UsageAstBuilder.Lop _ -> Tag.Lop
| UsageAstBuilder.Sqb _ -> Tag.Sqb
| UsageAstBuilder.Req _ -> Tag.Req
| UsageAstBuilder.Arg _ -> Tag.Arg
| UsageAstBuilder.XorEmpty _ -> Tag.Xor
| UsageAstBuilder.XorEmpty -> Tag.Xor
| UsageAstBuilder.Xor _ -> Tag.Xor
| UsageAstBuilder.Seq _ -> Tag.Seq
| UsageAstBuilder.Cmd _ -> Tag.Cmd
| UsageAstBuilder.Ell _ -> Tag.Ell
| UsageAstBuilder.Sdh _ -> Tag.Sdh
| UsageAstBuilder.Sdh -> Tag.Sdh

and UsageAstCell =
{ mutable Content: UsageAstBuilder option }
Expand Down
4 changes: 2 additions & 2 deletions src/app/Fake.DotNet.AssemblyInfoFile/AssemblyInfoFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -360,15 +360,15 @@ module AssemblyInfoFile =
|> Seq.tryFind (fun (attr: Attribute) -> attr.Name = "AssemblyVersion")
with
| Some attr -> attr.Value
| None _ -> "\"" + BuildServer.buildVersion + "\""
| None -> "\"" + BuildServer.buildVersion + "\""

let private getAssemblyInformationalVersion attributes =
match
attributes
|> Seq.tryFind (fun (attr: Attribute) -> attr.Name = "AssemblyInformationalVersion")
with
| Some attr -> attr.Value
| None _ -> getAssemblyVersionInfo attributes
| None -> getAssemblyVersionInfo attributes

let private getSortedAndNumberedAttributes (attrs: seq<Attribute>) =
attrs
Expand Down

0 comments on commit 0103965

Please sign in to comment.