mirror of
https://github.com/epi052/feroxbuster
synced 2024-07-08 19:45:45 +00:00
fixed clippy command (for real this time)
This commit is contained in:
parent
44151f462a
commit
6e7f758716
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
|
@ -11,7 +11,7 @@ Long form explanations of most of the items below can be found in the [CONTRIBUT
|
|||
|
||||
## Static analysis checks
|
||||
- [ ] All rust files are formatted using `cargo fmt`
|
||||
- [ ] All `clippy` checks pass when running `cargo clippy -- --all-targets --all-features -D warnings -A clippy::unnecessary_unwrap`
|
||||
- [ ] All `clippy` checks pass when running `cargo clippy --all-targets --all-features -- -D warnings -A clippy::unnecessary_unwrap`
|
||||
- [ ] All existing tests pass
|
||||
|
||||
## Documentation
|
||||
|
|
2
.github/workflows/rust-ci.yml
vendored
2
.github/workflows/rust-ci.yml
vendored
|
@ -61,4 +61,4 @@ jobs:
|
|||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: -- --all-targets --all-features -D warnings -A clippy::unnecessary_unwrap
|
||||
args: --all-targets --all-features -- -D warnings -A clippy::unnecessary_unwrap
|
|
@ -166,7 +166,7 @@ primarily related to continuous integration and release deployment.
|
|||
|
||||
feroxbuster uses the [`clippy`](https://rust-lang.github.io/rust-clippy/) code linter.
|
||||
|
||||
The command that will ultimately be used in the CI pipeline for linting is `cargo clippy -- --all-targets --all-features -D warnings -A clippy::unnecessary_unwrap`.
|
||||
The command that will ultimately be used in the CI pipeline for linting is `cargo clippy --all-targets --all-features -- -D warnings -A clippy::unnecessary_unwrap`.
|
||||
|
||||
Before submitting a Pull Request, the above command should be run. Please do not ignore any linting errors in code you write or modify, as they are meant to **help** by ensuring a clean and simple code base.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user