mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(APIRouter): use proper symbol for util.inspect (#3589)
This commit is contained in:
committed by
SpaceEEC
parent
cbde819b6a
commit
100360705a
@@ -4,7 +4,7 @@ const noop = () => {}; // eslint-disable-line no-empty-function
|
||||
const methods = ['get', 'post', 'delete', 'patch', 'put'];
|
||||
const reflectors = [
|
||||
'toString', 'valueOf', 'inspect', 'constructor',
|
||||
Symbol.toPrimitive, Symbol.for('util.inspect.custom'),
|
||||
Symbol.toPrimitive, Symbol.for('nodejs.util.inspect.custom'),
|
||||
];
|
||||
|
||||
function buildRoute(manager) {
|
||||
|
||||
Reference in New Issue
Block a user