Skip to content

Add option to skip errors when no matches are found #168

Add option to skip errors when no matches are found

Add option to skip errors when no matches are found #168

Triggered via push October 12, 2024 13:29
Status Failure
Total duration 25s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
useless use of `format!`: src/app.rs#L279
error: useless use of `format!` --> src/app.rs:279:40 | 279 | console.print_message(&format!( | ________________________________________^ 280 | | "{}", 281 | | "nothing found to replace" 282 | | )); | |_________________^ help: consider using `.to_string()`: `"nothing found to replace".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `-D clippy::useless-format` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
useless use of `format!`: src/app.rs#L279
error: useless use of `format!` --> src/app.rs:279:40 | 279 | console.print_message(&format!( | ________________________________________^ 280 | | "{}", 281 | | "nothing found to replace" 282 | | )); | |_________________^ help: consider using `.to_string()`: `"nothing found to replace".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `-D clippy::useless-format` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
lint
Clippy had exited with the 101 exit code
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/