chore: bump CI toolchain to 1.73.0 (#567)
This commit is contained in:
2
.github/workflows/check-and-lint.yaml
vendored
2
.github/workflows/check-and-lint.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUST_VER: '1.72.1'
|
RUST_VER: '1.73.0'
|
||||||
CROSS_VER: '0.2.5'
|
CROSS_VER: '0.2.5'
|
||||||
CARGO_NET_RETRY: 3
|
CARGO_NET_RETRY: 3
|
||||||
|
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ impl Aura {
|
|||||||
|
|
||||||
impl ArchPackageManager for Aura {
|
impl ArchPackageManager for Aura {
|
||||||
fn upgrade(&self, ctx: &ExecutionContext) -> Result<()> {
|
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);
|
let mut aur_update = ctx.run_type().execute(&sudo);
|
||||||
|
|
||||||
if sudo.ends_with("sudo") {
|
if sudo.ends_with("sudo") {
|
||||||
|
|||||||
Reference in New Issue
Block a user