refactor: fix lint
ci/woodpecker/push/woodpecker Pipeline was successful Details

feat/users
Tomáš Mládek 2024-03-30 16:45:04 +01:00
parent 175518e3a6
commit 669b348160
2 changed files with 2 additions and 4 deletions

View File

@ -349,7 +349,7 @@ async fn main() -> Result<()> {
if !exists { if !exists {
warn!( warn!(
"Couldn't locate Web UI directory ({:?}), disabling...", "Couldn't locate Web UI directory ({:?}), disabling...",
WEBUI_PATH.to_owned() *WEBUI_PATH
); );
} }
exists exists

View File

@ -178,9 +178,7 @@ pub fn execute(
var_name.clone(), var_name.clone(),
subquery_results subquery_results
.iter() .iter()
.map(|e| { .map(|e| e.attribute.parse().map(EntryPart::Attribute))
e.attribute.parse().map(|a| EntryPart::Attribute(a))
})
.collect::<Result<Vec<EntryPart>, _>>()?, .collect::<Result<Vec<EntryPart>, _>>()?,
); );
} }