summaryrefslogtreecommitdiff
path: root/std/node/url.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-01-17 00:32:59 +0100
committerGitHub <noreply@github.com>2021-01-17 00:32:59 +0100
commitb26dcbc69d56b6ac5780520dad47f10460127d3e (patch)
tree1f0c45b2c39eff83a9fede7a9e6e268a5e04194b /std/node/url.ts
parentfc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff)
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'std/node/url.ts')
-rw-r--r--std/node/url.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/url.ts b/std/node/url.ts
index a0a3e5f33..9d2fbe757 100644
--- a/std/node/url.ts
+++ b/std/node/url.ts
@@ -76,7 +76,7 @@ function getPathFromURLWin(url: URL): string {
pathname = pathname.replace(forwardSlashRegEx, "\\");
pathname = decodeURIComponent(pathname);
if (hostname !== "") {
- //TODO add support for punycode encodings
+ // TODO(bartlomieju): add support for punycode encodings
return `\\\\${hostname}${pathname}`;
} else {
// Otherwise, it's a local path that requires a drive letter