Skip to content

Commit

Permalink
report hint as info to server log
Browse files Browse the repository at this point in the history
  • Loading branch information
RodgeFu committed Dec 26, 2024
1 parent 7a78fdd commit a01cd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/server/serverlib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export function createServer(host: ServerHost): Server {
if (!validationResult.valid) {
for (const diag of validationResult.diagnostics) {
log({
level: diag.severity,
level: diag.severity === "hint" ? "info" : diag.severity,
message: diag.message,
detail: {
code: diag.code,
Expand Down

0 comments on commit a01cd7f

Please sign in to comment.