From 77a44163fb22139a8269eb216014640aaf7a7fa8 Mon Sep 17 00:00:00 2001 From: dubiousjim Date: Fri, 20 Mar 2020 16:03:04 -0400 Subject: chmod should throw on Windows (#4446) --- cli/js/lib.deno.ns.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/lib.deno.ns.d.ts') diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 33d89190c..4a7609920 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -950,7 +950,7 @@ declare namespace Deno { * * For a full description, see [chmod](#chmod) * - * NOTE: This API currently has no effect on Windows + * NOTE: This API currently throws on Windows * * Requires `allow-write` permission. */ export function chmodSync(path: string, mode: number): void; @@ -978,7 +978,7 @@ declare namespace Deno { * | 1 | execute only | * | 0 | no permission | * - * NOTE: This API currently has no effect on Windows + * NOTE: This API currently throws on Windows * * Requires `allow-write` permission. */ export function chmod(path: string, mode: number): Promise; -- cgit v1.2.3