diff options
author | dubiousjim <dubiousjim@gmail.com> | 2020-03-20 16:03:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 16:03:04 -0400 |
commit | 77a44163fb22139a8269eb216014640aaf7a7fa8 (patch) | |
tree | 30d7973a4bfbfb36fab385b039ef60574178af2c /cli/js/lib.deno.ns.d.ts | |
parent | b22f48970fc18c4e5fd72df15ac798477fbe49cb (diff) |
chmod should throw on Windows (#4446)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<void>; |