We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20de742 commit 319f84eCopy full SHA for 319f84e
src/FSharpLint.Console/Daemon.fs
@@ -57,11 +57,11 @@ type FSharpLintDaemon(sender: Stream, reader: Stream) as this =
57
member _.Version() : string = FSharpLint.Console.Version.get ()
58
59
[<JsonRpcMethod(Methods.LintFile)>]
60
- member _.LintFile(request: LintFileRequest) : Result<ClientLintWarning list, string> =
+ member _.LintFile(request: LintFileRequest, cancellationToken: CancellationToken option) : Result<ClientLintWarning list, string> =
61
let lintConfig =
62
match request.LintConfigPath with
63
| Some path ->
64
- { CancellationToken = None
+ { CancellationToken = cancellationToken
65
ReceivedWarning = None
66
Configuration = FromFile path
67
ReportLinterProgress = None }
0 commit comments