From 636e234e4ca8bcafc31d65065005572b6033f649 Mon Sep 17 00:00:00 2001 From: J2P Date: Sat, 9 Feb 2019 19:30:01 +0900 Subject: [PATCH] Fix read permission message --- src/permissions.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/permissions.rs b/src/permissions.rs index 8546e4ee94..809dcdab3e 100644 --- a/src/permissions.rs +++ b/src/permissions.rs @@ -47,10 +47,7 @@ impl DenoPermissions { return Ok(()); }; // TODO get location (where access occurred) - let r = permission_prompt(&format!( - "Deno requests read access to \"{}\".", - filename - ));; + let r = permission_prompt(&format!("read access to \"{}\"", filename));; if r.is_ok() { self.allow_read.store(true, Ordering::SeqCst); }