From 195a13ad92f9ffc33d0b483e1717a9ae44cf2503 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 22 Oct 2024 02:08:19 +0300 Subject: [PATCH] fix compilation --- plugins/fs/src/commands.rs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/plugins/fs/src/commands.rs b/plugins/fs/src/commands.rs index 61716c4a..97ba43e3 100644 --- a/plugins/fs/src/commands.rs +++ b/plugins/fs/src/commands.rs @@ -911,7 +911,13 @@ pub async fn write_file( command_scope: CommandScope, request: tauri::ipc::Request<'_>, ) -> CommandResult<()> { - write_file_inner(webview, &global_scope, &command_scope, request) + write_file_inner( + "write_file", + webview, + &global_scope, + &command_scope, + request, + ) } // TODO, in v3, remove this command and rely on `write_file` command only @@ -922,7 +928,13 @@ pub async fn write_text_file( command_scope: CommandScope, request: tauri::ipc::Request<'_>, ) -> CommandResult<()> { - write_file_inner(webview, &global_scope, &command_scope, request) + write_file_inner( + "write_text_file", + webview, + &global_scope, + &command_scope, + request, + ) } #[tauri::command]