From ea4f3ab852eba0eeb27004616163a0bbf9971215 Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Sat, 14 Mar 2020 21:46:39 +0000 Subject: feat: add chmod Node polyfill and related file system constants (#4358) --- std/node/_fs/_fs_appendFile.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'std/node/_fs/_fs_appendFile.ts') diff --git a/std/node/_fs/_fs_appendFile.ts b/std/node/_fs/_fs_appendFile.ts index 193badf1f..49a4fc29f 100644 --- a/std/node/_fs/_fs_appendFile.ts +++ b/std/node/_fs/_fs_appendFile.ts @@ -3,8 +3,8 @@ import { FileOptions, isFileOptions, CallbackWithError } from "./_fs_common.ts"; import { notImplemented } from "../_utils.ts"; /** - * TODO: Also accept 'data' parameter as a Node polyfill Buffer type once this - * is implemented. See https://github.com/denoland/deno/issues/3403 + * TODO: Also accept 'data' parameter as a Node polyfill Buffer or URL type once these + * are implemented. See https://github.com/denoland/deno/issues/3403 */ export function appendFile( pathOrRid: string | number, @@ -69,8 +69,8 @@ function closeRidIfNecessary(isPathString: boolean, rid: number): void { } /** - * TODO: Also accept 'data' parameter as a Node polyfill Buffer type once this - * is implemented. See https://github.com/denoland/deno/issues/3403 + * TODO: Also accept 'data' parameter as a Node polyfill Buffer or URL type once these + * are implemented. See https://github.com/denoland/deno/issues/3403 */ export function appendFileSync( pathOrRid: string | number, -- cgit v1.2.3