mirror of https://github.com/sbt/sbt.git
Merge pull request #6998 from ckipp01/captureCodeBsp
feat: start forwarding diagnosticCode via BSP
This commit is contained in:
commit
ab59e4c6ba
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue