summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-05-02 18:33:43 -0400
committerGitHub <noreply@github.com>2020-05-02 18:33:43 -0400
commitbbbf9f299c284e24882927d34e13ffad1ed6093e (patch)
tree7ae4e1a565e4a1af992315c3719120826486068f /cli/js/lib.deno.ns.d.ts
parent2872b362ff76273d897d75bb8a3ddd5510c182f4 (diff)
Deno.chdir should require allow-read not allow-write (#5033)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r--cli/js/lib.deno.ns.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts
index f2c9fa4bb..45730acbc 100644
--- a/cli/js/lib.deno.ns.d.ts
+++ b/cli/js/lib.deno.ns.d.ts
@@ -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;