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]