diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-17 00:32:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 00:32:59 +0100 |
commit | b26dcbc69d56b6ac5780520dad47f10460127d3e (patch) | |
tree | 1f0c45b2c39eff83a9fede7a9e6e268a5e04194b /std/node/_fs | |
parent | fc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff) |
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'std/node/_fs')
-rw-r--r-- | std/node/_fs/_fs_access.ts | 6 | ||||
-rw-r--r-- | std/node/_fs/_fs_appendFile.ts | 4 |
2 files changed, 5 insertions, 5 deletions
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"); } |