summaryrefslogtreecommitdiff
path: root/cli/tools
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/tools
parentbcdf600ae40af8880d9c6d8e0c64179de274290f (diff)
docs: fix typos (#24820)
This PR fixes various typos I spotted in the project.
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/compile.rs2
-rw-r--r--cli/tools/registry/pm.rs2
-rw-r--r--cli/tools/repl/session.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs
index f0534abc3..6cf2ccf77 100644
--- a/cli/tools/compile.rs
+++ b/cli/tools/compile.rs
@@ -47,7 +47,7 @@ pub async fn compile(
log::warn!(
concat!(
"{} Sloppy imports are not supported in deno compile. ",
- "The compiled executable may encouter runtime errors.",
+ "The compiled executable may encounter runtime errors.",
),
crate::colors::yellow("Warning"),
);
diff --git a/cli/tools/registry/pm.rs b/cli/tools/registry/pm.rs
index 2986c1c2a..a3ece03e7 100644
--- a/cli/tools/registry/pm.rs
+++ b/cli/tools/registry/pm.rs
@@ -488,7 +488,7 @@ fn update_config_file_content(
text_changes.push(TextChange {
range: insert_position..insert_position,
// NOTE(bartlomieju): adding `\n` here to force the formatter to always
- // produce a config file that is multline, like so:
+ // produce a config file that is multiline, like so:
// ```
// {
// "imports": {
diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs
index 3e43ea3ab..b379c3646 100644
--- a/cli/tools/repl/session.rs
+++ b/cli/tools/repl/session.rs
@@ -866,7 +866,7 @@ impl AnalyzedJsxPragmas {
}
/// Analyze provided source and return information about carious pragmas
-/// used to configure the JSX tranforms.
+/// used to configure the JSX transforms.
fn analyze_jsx_pragmas(
parsed_source: &ParsedSource,
) -> Option<AnalyzedJsxPragmas> {