mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
BREAKING: execPath should require allow-read (#5109)
This commit is contained in:
parent
76c77bb32c
commit
221221cc97
5 changed files with 29 additions and 22 deletions
2
cli/js/lib.deno.ns.d.ts
vendored
2
cli/js/lib.deno.ns.d.ts
vendored
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue