Skip to content

Commit

Permalink
fsprojects#1219 New code has been formatted with fantomas
Browse files Browse the repository at this point in the history
  • Loading branch information
humberto-javier.cortes-benavides committed Jan 11, 2021
1 parent b7f3971 commit f0b3cb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Fantomas/Context.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1450,9 +1450,7 @@ let internal genTriviaBeforeClausePipe (rangeOfClause: range) ctx =

let internal genTriviaMainNodesBeforeClausePipe (rangeOfClause: range) ctx =
(Map.tryFindOrEmptyList SynMatchClause_Clause ctx.TriviaMainNodes)
|> List.tryFind
(fun t ->
RangeHelpers.rangeEq t.Range rangeOfClause)
|> List.tryFind (fun t -> RangeHelpers.rangeEq t.Range rangeOfClause)
|> fun trivia ->
match trivia with
| Some trivia -> indent +> (printContentBefore trivia)
Expand Down

0 comments on commit f0b3cb5

Please sign in to comment.