Skip to content

chore(release): 0.10.1 #102

chore(release): 0.10.1

chore(release): 0.10.1 #102

Triggered via push January 25, 2025 20:10
Status Success
Total duration 18s
Artifacts

commitlint.yml

on: push
commitlint
10s
commitlint
Fit to window
Zoom out
Zoom in

Annotations

2 errors
you seem to be trying to use `match` for an equality check. Consider using `if`: src/setup/mod.rs#L189
error: you seem to be trying to use `match` for an equality check. Consider using `if` --> src/setup/mod.rs:189:5 | 189 | / match CONF.get_bool("verbose")? { 190 | | true => { 191 | | for file in files.iter() { 192 | | let path = file.clone().into_os_string().into_string().unwrap(); ... | 199 | | false => {} 200 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 189 ~ if CONF.get_bool("verbose")? == true { 190 + for file in files.iter() { 191 + let path = file.clone().into_os_string().into_string().unwrap(); 192 + let text = LocalText::new("setup-warp-time-file") 193 + .arg("path", style(path).white().bold()) 194 + .fmt(); 195 ~ eprintln!("{} {}", style("┠┄").cyan(), text); 196 + } 197 + } |
you seem to be trying to use `match` for an equality check. Consider using `if`: src/setup/mod.rs#L189
error: you seem to be trying to use `match` for an equality check. Consider using `if` --> src/setup/mod.rs:189:5 | 189 | / match CONF.get_bool("verbose")? { 190 | | true => { 191 | | for file in files.iter() { 192 | | let path = file.clone().into_os_string().into_string().unwrap(); ... | 199 | | false => {} 200 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 189 ~ if CONF.get_bool("verbose")? == true { 190 + for file in files.iter() { 191 + let path = file.clone().into_os_string().into_string().unwrap(); 192 + let text = LocalText::new("setup-warp-time-file") 193 + .arg("path", style(path).white().bold()) 194 + .fmt(); 195 ~ eprintln!("{} {}", style("┠┄").cyan(), text); 196 + } 197 + } |