feat: fix typos (#1221)

Co-authored-by: GideonBear <87426140+GideonBear@users.noreply.github.com>
This commit is contained in:
Kian-Meng Ang
2025-08-12 00:15:21 +08:00
committed by GitHub
parent 91fc5e3902
commit 9f4cb8c1b6
10 changed files with 15 additions and 15 deletions

View File

@@ -475,7 +475,7 @@ fn upgrade_gentoo(ctx: &ExecutionContext) -> Result<()> {
println!("{}", t!("Syncing portage"));
if let Some(ego) = which("ego") {
// The Funtoo team doesn't reccomend running both ego sync and emerge --sync
// The Funtoo team doesn't recommend running both ego sync and emerge --sync
sudo.execute(ctx, &ego)?.arg("sync").status_checked()?;
} else {
sudo.execute(ctx, &emerge)?

View File

@@ -100,7 +100,7 @@ pub fn update_wsl(ctx: &ExecutionContext) -> Result<()> {
/// Detect if WSL is installed or not.
///
/// For WSL, we cannot simply check if command `wsl` is installed as on newer
/// versions of Windows (since windows 10 version 2004), this commmand is
/// versions of Windows (since windows 10 version 2004), this command is
/// installed by default.
///
/// If the command is installed and the user hasn't installed any Linux distros
@@ -206,7 +206,7 @@ pub fn run_wsl_topgrade(ctx: &ExecutionContext) -> Result<()> {
if ran {
Ok(())
} else {
Err(SkipStep(t!("Could not find Topgrade in any WSL disribution").to_string()).into())
Err(SkipStep(t!("Could not find Topgrade in any WSL distribution").to_string()).into())
}
}