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/module.ts | |
parent | fc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff) |
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'std/node/module.ts')
-rw-r--r-- | std/node/module.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/node/module.ts b/std/node/module.ts index a7052668a..6716b02d9 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -389,7 +389,7 @@ class Module { const module = new Module(filename, parent); if (isMain) { - // TODO: set process info + // TODO(bartlomieju): set process info // process.mainModule = module; module.id = "."; } @@ -1052,7 +1052,7 @@ type RequireWrapper = ( ) => void; function wrapSafe(filename: string, content: string): RequireWrapper { - // TODO: fix this + // TODO(bartlomieju): fix this const wrapper = Module.wrap(content); // deno-lint-ignore no-explicit-any const [f, err] = (Deno as any).core.evalContext(wrapper, filename); @@ -1135,7 +1135,7 @@ function makeRequireFunction(mod: Module): RequireFunction { } resolve.paths = paths; - // TODO: set main + // TODO(bartlomieju): set main // require.main = process.mainModule; // Enable support to add extra extension types. |