mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
util: remove outdated TODO
Backport-PR-URL: https://github.com/nodejs/node/pull/23039 PR-URL: https://github.com/nodejs/node/pull/22503 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
1 parent
e16dd6d165
commit
92e0f38a65
1 file changed
-2
@@ -380,8 +380,6 @@ Object.defineProperty(inspect, 'defaultOptions', {
|
||||
if (options === null || typeof options !== 'object') {
|
||||
throw new ERR_INVALID_ARG_TYPE('options', 'Object', options);
|
||||
}
|
||||
// TODO(BridgeAR): Add input validation and make sure `defaultOptions` are
|
||||
// not configurable.
|
||||
return _extend(inspectDefaultOptions, options);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user