From 1995bb44a808b57ced008b7f976f9eab8235b6da Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 9 Dec 2024 02:10:58 +0200 Subject: [PATCH] fix compile --- plugins/fs/src/commands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fs/src/commands.rs b/plugins/fs/src/commands.rs index ceecac99..185e925f 100644 --- a/plugins/fs/src/commands.rs +++ b/plugins/fs/src/commands.rs @@ -343,6 +343,7 @@ pub async fn read( } async fn read_file_inner( + permission: &str, webview: Webview, global_scope: GlobalScope, command_scope: CommandScope, @@ -350,7 +351,7 @@ async fn read_file_inner( options: Option, ) -> CommandResult { let (mut file, path) = resolve_file( - "read-file", + permission, &webview, &global_scope, &command_scope,