summaryrefslogtreecommitdiff
path: root/cli/lsp/diagnostics.rs
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2024-08-02 13:26:54 +0200
committerGitHub <noreply@github.com>2024-08-02 13:26:54 +0200
commitea121c9a0e162a83beeae62ed9e5a7911877bcbc (patch)
tree595186262a70cbdc22c067a9d5815a51103c25fc /cli/lsp/diagnostics.rs
parentbcdf600ae40af8880d9c6d8e0c64179de274290f (diff)
docs: fix typos (#24820)
This PR fixes various typos I spotted in the project.
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r--cli/lsp/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs
index ed92c400f..69f3b1145 100644
--- a/cli/lsp/diagnostics.rs
+++ b/cli/lsp/diagnostics.rs
@@ -1532,7 +1532,7 @@ fn diagnose_dependency(
// If not @deno-types, diagnose the types if the code errored because
// it's likely resolving into the node_modules folder, which might be
// erroring correctly due to resolution only being for bundlers. Let this
- // fail at runtime if necesarry, but don't bother erroring in the editor
+ // fail at runtime if necessary, but don't bother erroring in the editor
|| !is_types_deno_types && matches!(dependency.maybe_type, Resolution::Ok(_))
&& matches!(dependency.maybe_code, Resolution::Err(_))
{