mirror of
https://github.com/denoland/deno.git
synced 2025-07-25 06:04:02 +00:00
Deno.chdir should require allow-read not allow-write (#5033)
This commit is contained in:
parent
2872b362ff
commit
bbbf9f299c
3 changed files with 31 additions and 25 deletions
2
cli/js/lib.deno.ns.d.ts
vendored
2
cli/js/lib.deno.ns.d.ts
vendored
|
@ -140,7 +140,7 @@ declare namespace Deno {
|
|||
* Throws `Deno.errors.PermissionDenied` if the user does not have access
|
||||
* rights
|
||||
*
|
||||
* Requires --allow-write.
|
||||
* Requires --allow-read.
|
||||
*/
|
||||
export function chdir(directory: string): void;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue