fix(nhentai): webp images #996
Annotations
1 error and 7 warnings
Lint sources
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, Ana06/[email protected], actions/cache@v3, actions-rs/toolchain@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 sources:
src/rust/multi.nhentai/src/helper.rs#L59
warning: unneeded `return` statement
--> src/helper.rs:59:2
|
59 | / return match filetype.as_str() {
60 | | "j" => String::from("jpg"),
61 | | "p" => String::from("png"),
62 | | "w" => String::from("webp"),
63 | | "g" => String::from("gif"),
64 | | _ => String::new(),
65 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
59 ~ match filetype.as_str() {
60 ~ "j" => String::from("jpg"),
61 ~ "p" => String::from("png"),
62 ~ "w" => String::from("webp"),
63 ~ "g" => String::from("gif"),
64 ~ _ => String::new(),
65 ~ }
|
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Loading