Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Booksbaum committed Mar 3, 2023
1 parent 15aa2dd commit 26d0aa1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/FsAutoComplete.Core/Commands.fs
Original file line number Diff line number Diff line change
Expand Up @@ -857,12 +857,15 @@ module Commands =
return Ok()
}
|> Async.Catch
|> Async.map(Result.ofChoice >> Result.mapError string >> Result.bind id)
|> Async.map (Result.ofChoice >> Result.mapError string >> Result.bind id)
|> Async.map (fun x ->
match x with
| Ok () -> ()
| Error e ->
commandsLogger.info (Log.setMessage "tryFindReferencesInFile failed: {error}" >> Log.addContextDestructured "error" e))
commandsLogger.info (
Log.setMessage "tryFindReferencesInFile failed: {error}"
>> Log.addContextDestructured "error" e
))

let iterProject (project: FSharpProjectOptions) =
asyncResult {
Expand Down

0 comments on commit 26d0aa1

Please sign in to comment.