BREAKING: execPath should require allow-read (#5109)

This commit is contained in:
Ryan Dahl 2020-05-06 15:51:33 -04:00 committed by GitHub
parent 76c77bb32c
commit 221221cc97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 22 deletions

View file

@ -147,7 +147,7 @@ declare namespace Deno {
*
* console.log(Deno.execPath()); // e.g. "/home/alice/.local/bin/deno"
*
* Requires `allow-env` permission.
* Requires `allow-read` permission.
*/
export function execPath(): string;