add command to show large files #3
Annotations
5 warnings
using `print!()` with a format string that ends in a single newline:
src/main.rs#L67
warning: using `print!()` with a format string that ends in a single newline
--> src/main.rs:67:9
|
67 | print!("\n");
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
= note: `#[warn(clippy::print_with_newline)]` on by default
help: use `println!` instead
|
67 - print!("\n");
67 + println!();
|
|
use of `expect` followed by a function call:
src/show_file_size.rs#L8
warning: use of `expect` followed by a function call
--> src/show_file_size.rs:8:43
|
8 | let min_size = parse_size(&options.min).expect(&format!("parse file size from string: {}", &options.min));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("parse file size from string: {}", &options.min))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
= note: `#[warn(clippy::expect_fun_call)]` on by default
|
this import is redundant:
src/main.rs#L7
warning: this import is redundant
--> src/main.rs:7:1
|
7 | use cli_clipboard;
| ^^^^^^^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `#[warn(clippy::single_component_path_imports)]` on by default
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
|