From c10dab9e8077d8ef6eb6549c5a79b19962de5cdf Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 6 Oct 2021 18:40:31 +0200 Subject: [PATCH] style(path): fix formatting --- espanso-path/src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/espanso-path/src/lib.rs b/espanso-path/src/lib.rs index 4ec885e..be9893b 100644 --- a/espanso-path/src/lib.rs +++ b/espanso-path/src/lib.rs @@ -77,7 +77,8 @@ pub fn resolve_paths( packages_dir }; - let is_portable_mode = is_portable_mode() && force_config_dir.is_none() && force_runtime_dir.is_none(); + let is_portable_mode = + is_portable_mode() && force_config_dir.is_none() && force_runtime_dir.is_none(); Paths { config: config_dir, @@ -312,9 +313,9 @@ fn is_legacy_runtime_dir(path: &Path) -> bool { for candidate in LEGACY_RUNTIME_DIR_CANDIDATES_FILE { let candidate_path = path.join(candidate); if candidate_path.is_file() { - return true + return true; } } false -} \ No newline at end of file +}