Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Booksbaum committed Feb 15, 2023
1 parent fb26aa2 commit 0c7419d
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 @@ -855,12 +855,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 0c7419d

Please sign in to comment.