summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-12-20 15:19:35 -0500
committerGitHub <noreply@github.com>2022-12-20 15:19:35 -0500
commit423474caa88f658477ed9f2df1099b7037166c3a (patch)
tree44d203094c1b9f6857653157a100a98b3a88f33f /cli/lsp/tsc.rs
parentfcca54d3ba2b5c1f9f45b70fde46ba07bde4d07b (diff)
fix(lsp/format): language formatter used should be based on language id (#17148)
Closes #11897
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r--cli/lsp/tsc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index c6b5315e0..de34c7fa6 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -3466,7 +3466,7 @@ mod tests {
documents.open(
specifier.clone(),
*version,
- language_id.clone(),
+ *language_id,
(*source).into(),
);
}