1
0
Fork 0
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:
J2P 2019-02-09 19:30:01 +09:00 committed by Ryan Dahl
parent b2fb8261e7
commit 636e234e4c

View file

@ -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);
}