feat: tar & zip in rust #84
Annotations
2 errors
Run giraffate/clippy-action@v1:
src/source/mod.rs#L344
[clippy] reported by reviewdog 🐶
error: length comparison to one
--> src/source/mod.rs:344:12
|
344 | if filepath.as_os_str().len() < 1 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `filepath.as_os_str().is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `-D clippy::len-zero` implied by `-D warnings`
Raw Output:
src/source/mod.rs:344:12:e:error: length comparison to one
--> src/source/mod.rs:344:12
|
344 | if filepath.as_os_str().len() < 1 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `filepath.as_os_str().is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `-D clippy::len-zero` implied by `-D warnings`
__END__
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
The logs for this run have expired and are no longer available.
Loading