From b4128e141750190fb620e56ade345eb0149c2b35 Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Wed, 4 Oct 2023 19:48:47 +0200 Subject: [PATCH] chore: fmt --- src/commands/list_folders.rs | 9 +++++---- src/login.rs | 6 +++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/commands/list_folders.rs b/src/commands/list_folders.rs index 3ade083..05045ec 100644 --- a/src/commands/list_folders.rs +++ b/src/commands/list_folders.rs @@ -22,12 +22,13 @@ pub async fn list_folders(webdriver: &WebDriver) -> Result Result { async fn confirm_dialog(webdriver: &WebDriver) -> Result<()> { debug!("confirm potential dialogs"); - let Some(dialog) = webdriver.find_at_most_one(By::ClassName("dialog")).await.context("find dialog box")? else { + let Some(dialog) = webdriver + .find_at_most_one(By::ClassName("dialog")) + .await + .context("find dialog box")? + else { debug!("no dialog found"); return Ok(()); };