Skip to content

Commit d5c3837

Browse files
Maledongantsmartian
Maledong
authored andcommitted
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: #29201 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anto Aravinth <[email protected]>
1 parent d27cc1b commit d5c3837

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/validators.js

-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ function validateEncoding(data, encoding) {
151151
throw new ERR_INVALID_ARG_VALUE('encoding', encoding,
152152
`is invalid for data of length ${length}`);
153153
}
154-
155-
// TODO(bnoordhuis) Add BASE64 check?
156154
}
157155

158156
module.exports = {

0 commit comments

Comments
 (0)