Merge pull request #6998 from ckipp01/captureCodeBsp

feat: start forwarding diagnosticCode via BSP
This commit is contained in:
eugene yokota 2022-08-10 10:03:40 -04:00 committed by GitHub
commit ab59e4c6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ final class BuildServerReporterImpl(
Diagnostic( Diagnostic(
range, range,
Option(toDiagnosticSeverity(problem.severity)), Option(toDiagnosticSeverity(problem.severity)),
None, problem.diagnosticCode().toOption.map(_.code),
Option("sbt"), Option("sbt"),
problem.message problem.message
) )