Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix some typos in comments #23470

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/tsc/00_typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -150636,7 +150636,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
break;
case 3 /* CommonJS */:
case 2 /* Namespace */:
Debug.assert(entry.namespaceLikeImport === void 0 || entry.namespaceLikeImport.name === symbolName2, "Namespacelike import shoudl be missing or match symbolName");
Debug.assert(entry.namespaceLikeImport === void 0 || entry.namespaceLikeImport.name === symbolName2, "Namespacelike import should be missing or match symbolName");
entry.namespaceLikeImport = { importKind, name: symbolName2, addAsTypeOnly };
break;
}
Expand Down
2 changes: 1 addition & 1 deletion ext/cron/01_cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function parseScheduleToString(

// Automatically override unspecified values for convenience. For example,
// to run every 2 hours, `{ hour: { every: 2 } }` can be specified without
// explicitely specifying `minute`.
// explicitly specifying `minute`.
if (minute !== undefined) {
// Nothing to override.
} else if (hour !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion ext/node/ops/os/cpus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pub fn cpu_info() -> Option<Vec<CpuInfo>> {
pub fn cpu_info() -> Option<Vec<CpuInfo>> {
use std::io::BufRead;

let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maxmimum */
let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maximum */

let fp = std::fs::File::open("/proc/stat").ok()?;
let reader = std::io::BufReader::new(fp);
Expand Down
2 changes: 1 addition & 1 deletion tests/testdata/fmt/with_config/subdir/c.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ unless you specifically enable it, a
program run with Deno has no file,
network, or environment access. Access
to security sensitive functionality
requires that permisisons have been
requires that permissions have been
granted to an executing script through
command line flags, or a runtime
permission prompt.
Expand Down