From 71efce32c15d631dc3e0b91dfc30b89a03ae30d6 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Fri, 6 Oct 2023 12:05:44 +0800 Subject: [PATCH] chore: bump CI toolchain to 1.73.0 (#567) --- .github/workflows/check-and-lint.yaml | 2 +- src/steps/os/archlinux.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-and-lint.yaml b/.github/workflows/check-and-lint.yaml index 73b999c1..fd984569 100644 --- a/.github/workflows/check-and-lint.yaml +++ b/.github/workflows/check-and-lint.yaml @@ -7,7 +7,7 @@ on: name: CI env: - RUST_VER: '1.72.1' + RUST_VER: '1.73.0' CROSS_VER: '0.2.5' CARGO_NET_RETRY: 3 diff --git a/src/steps/os/archlinux.rs b/src/steps/os/archlinux.rs index ea03b98f..c1b21227 100644 --- a/src/steps/os/archlinux.rs +++ b/src/steps/os/archlinux.rs @@ -277,7 +277,7 @@ impl Aura { impl ArchPackageManager for Aura { fn upgrade(&self, ctx: &ExecutionContext) -> Result<()> { - let sudo = which("sudo").unwrap_or_else(PathBuf::new); + let sudo = which("sudo").unwrap_or_default(); let mut aur_update = ctx.run_type().execute(&sudo); if sudo.ends_with("sudo") {