mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
Fix read permission message
This commit is contained in:
parent
b2fb8261e7
commit
636e234e4c
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue