mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
style: fix up lint
This commit is contained in:
@@ -93,10 +93,10 @@ export class DiscordAPIError extends Error {
|
||||
const nextKey = otherKey.startsWith('_')
|
||||
? key
|
||||
: key
|
||||
? Number.isNaN(Number(otherKey))
|
||||
? Number.isNaN(Number(otherKey))
|
||||
? `${key}.${otherKey}`
|
||||
: `${key}[${otherKey}]`
|
||||
: otherKey;
|
||||
: otherKey;
|
||||
|
||||
if (typeof val === 'string') {
|
||||
yield val;
|
||||
|
||||
Reference in New Issue
Block a user