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/wasi/snapshot_preview1.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'std/wasi') diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts index b15557e00..9a1796e2e 100644 --- a/std/wasi/snapshot_preview1.ts +++ b/std/wasi/snapshot_preview1.ts @@ -590,8 +590,10 @@ export default class Context { const memoryView = new DataView(this.#memory.buffer); memoryView.setUint8(offset, entry.type!); memoryView.setUint16(offset + 2, entry.flags!, true); - memoryView.setBigUint64(offset + 8, 0n, true); // TODO - memoryView.setBigUint64(offset + 16, 0n, true); // TODO + // TODO(bartlomieju) + memoryView.setBigUint64(offset + 8, 0n, true); + // TODO(bartlomieju) + memoryView.setBigUint64(offset + 16, 0n, true); return ERRNO_SUCCESS; }), @@ -1371,19 +1373,19 @@ export default class Context { } if ((fdflags & FDFLAGS_DSYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_NONBLOCK) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_RSYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_SYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if (!options.read && !options.write && !options.truncate) { -- cgit v1.2.3