mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
chore(ci): fix lsp bench due to notification that was accidentally added (#14148)
This commit is contained in:
parent
85e16a08c7
commit
4a0b2c28a1
1 changed files with 6 additions and 7 deletions
|
@ -1063,13 +1063,12 @@ impl Inner {
|
|||
};
|
||||
|
||||
match format_result {
|
||||
Ok(new_text) => new_text.map(|new_text| {
|
||||
text::get_edits(
|
||||
document.content().as_str(),
|
||||
&new_text,
|
||||
document.line_index().as_ref(),
|
||||
)
|
||||
}),
|
||||
Ok(Some(new_text)) => Some(text::get_edits(
|
||||
document.content().as_str(),
|
||||
&new_text,
|
||||
document.line_index().as_ref(),
|
||||
)),
|
||||
Ok(None) => Some(Vec::new()),
|
||||
Err(err) => {
|
||||
// TODO(lucacasonato): handle error properly
|
||||
warn!("Format error: {}", err);
|
||||
|
|
Loading…
Reference in a new issue