Skip to content

Commit

Permalink
Correct log comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Oct 16, 2021
1 parent 9dd6cba commit f7f392a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FsAutoComplete/FsAutoComplete.Lsp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1225,14 +1225,14 @@ type FSharpLspServer(backgroundServiceEnabled: bool, state: State, lspClient: FS
|> Option.defaultValue false

if didInstall then
fantomasLogger.info (Log.setMessage (sprintf "fantomas was install locally at %A" rootPath))
fantomasLogger.info (Log.setMessage (sprintf "fantomas was installed locally at %A" rootPath))
do! lspClient.WindowShowMessage { Type = MessageType.Info; Message = "fantomas-tool was installed locally" }
commands.ClearFantomasCache ()

| Ok (Some { Title = "Install globally" }) ->
let didInstall = Process.Start("dotnet", @"tool install -g --add-source C:\Users\fverdonck\Projects\fantomas\bin --version 4.6.0-alpha-004 fantomas-tool").WaitForExit(5000)
if didInstall then
fantomasLogger.info (Log.setMessage "fantomas was install globally")
fantomasLogger.info (Log.setMessage "fantomas was installed globally")
do! lspClient.WindowShowMessage { Type = MessageType.Info; Message = "fantomas-tool was installed globally" }
commands.ClearFantomasCache ()
// Do we want try the entire format function again?
Expand Down

0 comments on commit f7f392a

Please sign in to comment.