feat(volo-http): add client ip #972
dependency-review.yaml
on: pull_request
dependency-review
11s
Annotations
3 warnings
dependency-review
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/dependency-review-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
this `map_or` is redundant:
volo-build/src/util.rs#L313
warning: this `map_or` is redundant
--> volo-build/src/util.rs:313:16
|
313 | if repo.workdir().map_or(false, |workdir| workdir == path) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(repo.workdir() == Some(path))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|
this `map_or` is redundant:
volo-build/src/util.rs#L313
warning: this `map_or` is redundant
--> volo-build/src/util.rs:313:16
|
313 | if repo.workdir().map_or(false, |workdir| workdir == path) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(repo.workdir() == Some(path))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|