mirror of
https://github.com/nushell/nushell.git
synced 2025-04-11 14:58:21 +02:00
Lint [result|option]_unwrap_used as been renamed to clippy::unwrap_used
This commit is contained in:
parent
dd7ee1808a
commit
015d2ee050
@ -52,13 +52,13 @@ steps:
|
|||||||
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
||||||
condition: eq(variables['style'], 'unflagged')
|
condition: eq(variables['style'], 'unflagged')
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::result_unwrap_used -D clippy::option_unwrap_used
|
- bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::unwrap_used
|
||||||
condition: eq(variables['style'], 'unflagged')
|
condition: eq(variables['style'], 'unflagged')
|
||||||
displayName: Check clippy lints
|
displayName: Check clippy lints
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
||||||
condition: eq(variables['style'], 'canary')
|
condition: eq(variables['style'], 'canary')
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::result_unwrap_used -D clippy::option_unwrap_used
|
- bash: RUSTFLAGS="-D warnings" cargo clippy --all --features=stable -- -D clippy::unwrap_used
|
||||||
condition: eq(variables['style'], 'canary')
|
condition: eq(variables['style'], 'canary')
|
||||||
displayName: Check clippy lints
|
displayName: Check clippy lints
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo test --all --no-default-features
|
- bash: RUSTFLAGS="-D warnings" cargo test --all --no-default-features
|
||||||
|
Loading…
Reference in New Issue
Block a user