chore: clippy todo warn
This commit is contained in:
@@ -191,7 +191,8 @@ impl DockerData {
|
||||
.into_iter()
|
||||
.filter_map(|f| match f.id {
|
||||
Some(_) => {
|
||||
if self.containerised && f.command
|
||||
if self.containerised
|
||||
&& f.command
|
||||
.as_ref()
|
||||
.map_or(false, |c| c.starts_with(ENTRY_POINT))
|
||||
&& self.args.show_self
|
||||
|
||||
+6
-1
@@ -1,5 +1,10 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(clippy::unused_async, clippy::unwrap_used, clippy::expect_used)]
|
||||
#![warn(
|
||||
clippy::expect_used,
|
||||
clippy::todo,
|
||||
clippy::unused_async,
|
||||
clippy::unwrap_used
|
||||
)]
|
||||
// Warning - These are indeed pedantic
|
||||
#![warn(clippy::pedantic)]
|
||||
#![warn(clippy::nursery)]
|
||||
|
||||
Reference in New Issue
Block a user