mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
c18e0d1d37
This commit adds new "A" option to the interactive permission prompt, that will allow all subsequent permissions for given group (domain). Ie. when querying for permissions to access eg. env variables responding with "A" will allow access to all environmental variables. This works for all permission domains and should make permission prompts more ergonomic for users.
8 lines
138 B
TypeScript
8 lines
138 B
TypeScript
Deno.env.get("FOO");
|
|
Deno.env.get("BAR");
|
|
|
|
Deno.loadavg();
|
|
Deno.hostname();
|
|
|
|
Deno.cwd();
|
|
Deno.lstatSync(new URL("../", import.meta.url));
|