refactor: fix lint
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
175518e3a6
commit
669b348160
|
@ -349,7 +349,7 @@ async fn main() -> Result<()> {
|
|||
if !exists {
|
||||
warn!(
|
||||
"Couldn't locate Web UI directory ({:?}), disabling...",
|
||||
WEBUI_PATH.to_owned()
|
||||
*WEBUI_PATH
|
||||
);
|
||||
}
|
||||
exists
|
||||
|
|
|
@ -178,9 +178,7 @@ pub fn execute(
|
|||
var_name.clone(),
|
||||
subquery_results
|
||||
.iter()
|
||||
.map(|e| {
|
||||
e.attribute.parse().map(|a| EntryPart::Attribute(a))
|
||||
})
|
||||
.map(|e| e.attribute.parse().map(EntryPart::Attribute))
|
||||
.collect::<Result<Vec<EntryPart>, _>>()?,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue