summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaledong <maledong_github@outlook.com>2019-08-19 17:37:22 +0800
committerAnto Aravinth <anto.aravinth.cse@gmail.com>2019-08-24 10:41:58 +0530
commitd5c383706130638d9772c5fdc18545a90424bff3 (patch)
treec9af74552fcf4d52cb89c4077e6b7e1ecd8c6dcd /lib
parentd27cc1b6bbf4f7c108078022b07bd63821c76bbb (diff)
downloadandroid-node-v8-d5c383706130638d9772c5fdc18545a90424bff3.tar.gz
android-node-v8-d5c383706130638d9772c5fdc18545a90424bff3.tar.bz2
android-node-v8-d5c383706130638d9772c5fdc18545a90424bff3.zip
lib: remove the comment of base64 validation
Since there's a comment about the 'base64' validation needed, and this will result in a breaking change, so this should be removed. PR-URL: https://github.com/nodejs/node/pull/29201 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/validators.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/validators.js b/lib/internal/validators.js
index f74338ebcb..b5c1477bcc 100644
--- a/lib/internal/validators.js
+++ b/lib/internal/validators.js
@@ -151,8 +151,6 @@ function validateEncoding(data, encoding) {
throw new ERR_INVALID_ARG_VALUE('encoding', encoding,
`is invalid for data of length ${length}`);
}
-
- // TODO(bnoordhuis) Add BASE64 check?
}
module.exports = {