From 0e5d268f72c508956619cf21c58099428080afe5 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 9 Dec 2024 03:49:09 +0200 Subject: [PATCH] fix compile again --- plugins/fs/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fs/src/commands.rs b/plugins/fs/src/commands.rs index 185e925f8..c291e89ec 100644 --- a/plugins/fs/src/commands.rs +++ b/plugins/fs/src/commands.rs @@ -387,7 +387,7 @@ pub async fn read_file( path: SafeFilePath, options: Option, ) -> CommandResult { - read_file_inner("read-file", 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 +399,7 @@ pub async fn read_text_file( path: SafeFilePath, options: Option, ) -> CommandResult { - read_file_inner("read-text-file", global_scope, command_scope, path, options).await + read_file_inner("read-text-file", webview, global_scope, command_scope, path, options).await } #[tauri::command]