Deno.permissions.request()
prompts even if --no-prompt
set
#14668
Labels
Deno.permissions.request()
prompts even if --no-prompt
set
#14668
Calling
Deno.permissions.request()
will prompt the user for the permission if not already granted even when--no-prompt
orNO_PROMPT
is set, which seems wrong. In those cases, it should just deny un-granted permissions.Ref: denoland/deno_emit#3 where deno_cache is using
Deno.permissions.request()
to ensure it has sufficient permissions to determine theDENO_DIR
.The text was updated successfully, but these errors were encountered: