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>
This commit is contained in:
Maledong 2019-08-19 17:37:22 +08:00 committed by Anto Aravinth
parent d27cc1b6bb
commit d5c3837061

View File

@ -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 = {