From 2b979f852d92104f51ac1fca0e987667425f9ea6 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 9 Dec 2024 03:50:58 +0200 Subject: [PATCH] fmt --- plugins/fs/src/commands.rs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/plugins/fs/src/commands.rs b/plugins/fs/src/commands.rs index c291e89ec..e4efd5db0 100644 --- a/plugins/fs/src/commands.rs +++ b/plugins/fs/src/commands.rs @@ -387,7 +387,15 @@ pub async fn read_file( path: SafeFilePath, options: Option, ) -> CommandResult { - read_file_inner("read-file", webview, global_scope, command_scope, path, options).await + read_file_inner( + "read-file", + webview, + global_scope, + command_scope, + path, + options + ) + .await } // TODO, remove in v3, rely on `read_file` command instead @@ -399,7 +407,15 @@ pub async fn read_text_file( path: SafeFilePath, options: Option, ) -> CommandResult { - read_file_inner("read-text-file", webview, global_scope, command_scope, path, options).await + read_file_inner( + "read-text-file", + webview, + global_scope, + command_scope, + path, + options + ) + .await } #[tauri::command]