Skip to content

Bumps deps

Bumps deps #571

Triggered via push April 18, 2025 14:20
Status Failure
Total duration 2m 11s
Artifacts

lint.yml

on: push
Lint code base
2m 2s
Lint code base
Fit to window
Zoom out
Zoom in

Annotations

3 errors
this `map_or` can be simplified: src/commands/serde_utils.rs#L68
error: this `map_or` can be simplified --> src/commands/serde_utils.rs:68:5 | 68 | opt.as_ref().map_or(true, |s| s.is_empty()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `-D clippy::unnecessary-map-or` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_or)]` help: use is_none_or instead | 68 - opt.as_ref().map_or(true, |s| s.is_empty()) 68 + opt.as_ref().is_none_or(|s| s.is_empty()) |
manual implementation of `ok`: src/commands/edge_app/setting.rs#L23
error: manual implementation of `ok` --> src/commands/edge_app/setting.rs:23:31 | 23 | let installation_id = match self.get_installation_id(path.clone()) { | _______________________________^ 24 | | Ok(id) => Some(id), 25 | | Err(_) => None, 26 | | }; | |_________^ help: replace with: `self.get_installation_id(path.clone()).ok()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err = note: `-D clippy::manual-ok-err` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_ok_err)]`
Lint code base
Clippy had exited with the 101 exit code