From b26dcbc69d56b6ac5780520dad47f10460127d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 17 Jan 2021 00:32:59 +0100 Subject: chore: Enforce ban-untagged-todo lint rule (#9135) --- std/node/_fs/_fs_access.ts | 6 +++--- std/node/_fs/_fs_appendFile.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'std/node/_fs') diff --git a/std/node/_fs/_fs_access.ts b/std/node/_fs/_fs_access.ts index cb1903677..3211e1640 100644 --- a/std/node/_fs/_fs_access.ts +++ b/std/node/_fs/_fs_access.ts @@ -4,7 +4,7 @@ import { notImplemented } from "../_utils.ts"; /** Revist once https://github.com/denoland/deno/issues/4017 lands */ -//TODO - 'path' can also be a Buffer. Neither of these polyfills +// TODO(bartlomieju) 'path' can also be a Buffer. Neither of these polyfills //is available yet. See https://github.com/denoland/deno/issues/3403 export function access( _path: string | URL, @@ -14,8 +14,8 @@ export function access( notImplemented("Not yet available"); } -//TODO - 'path' can also be a Buffer. Neither of these polyfills -//is available yet. See https://github.com/denoland/deno/issues/3403 +// TODO(bartlomieju) 'path' can also be a Buffer. Neither of these polyfills +// is available yet. See https://github.com/denoland/deno/issues/3403 // eslint-disable-next-line @typescript-eslint/no-unused-vars export function accessSync(path: string | URL, mode?: number): void { notImplemented("Not yet available"); diff --git a/std/node/_fs/_fs_appendFile.ts b/std/node/_fs/_fs_appendFile.ts index 5a7617632..fab72d0f7 100644 --- a/std/node/_fs/_fs_appendFile.ts +++ b/std/node/_fs/_fs_appendFile.ts @@ -45,7 +45,7 @@ export function appendFile( : undefined; if (mode) { - //TODO rework once https://github.com/denoland/deno/issues/4017 completes + // TODO(bartlomieju) rework once https://github.com/denoland/deno/issues/4017 completes notImplemented("Deno does not yet support setting mode on create"); } Deno.open(pathOrRid as string, getOpenOptions(flag)) @@ -100,7 +100,7 @@ export function appendFileSync( : undefined; if (mode) { - // TODO rework once https://github.com/denoland/deno/issues/4017 completes + // TODO(bartlomieju) rework once https://github.com/denoland/deno/issues/4017 completes notImplemented("Deno does not yet support setting mode on create"); } -- cgit v1.2.3