mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(lsp): Remove client-facing format failure warning (#23196)
Fixes #23163. The client-facing warning doesn't provide any value and is super annoying. We still emit a warning message on the server side for format errors, which should fulfill the same (less intrusive) purpose.
This commit is contained in:
parent
f76c38b13e
commit
92a8ada719
1 changed files with 0 additions and 1 deletions
|
@ -1576,7 +1576,6 @@ impl Inner {
|
||||||
Ok(Some(text_edits))
|
Ok(Some(text_edits))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self.client.show_message(MessageType::WARNING, format!("Unable to format \"{specifier}\". Likely due to unrecoverable syntax errors in the file."));
|
|
||||||
Ok(None)
|
Ok(None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue