mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 18:49:07 -05:00
cf49599359
This commit improves permission prompts by adding an option to print a full trace of where the permissions is being requested. Due to big performance hint of stack trace collection, this is only enabled when `DENO_TRACE_PERMISSIONS` env var is present. Closes https://github.com/denoland/deno/issues/20756 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
9 lines
75 B
TypeScript
9 lines
75 B
TypeScript
function foo() {
|
|
Deno.hostname();
|
|
}
|
|
|
|
function bar() {
|
|
foo();
|
|
}
|
|
|
|
bar();
|