mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-02 16:08:31 +00:00
eslint: undefined variable key; looks like it should be badge_id
This commit is contained in:
parent
2209ed92f9
commit
a514c143fa
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ export default class Badges extends Module {
|
||||||
|
|
||||||
const existing = this.badges[badge_id];
|
const existing = this.badges[badge_id];
|
||||||
if ( existing && existing.addon !== addon_id )
|
if ( existing && existing.addon !== addon_id )
|
||||||
module.log.warn('[DEV-CHECK] Removed un-owned badge with chat.badges.removeBadge():', key, ' owner:', existing.addon ?? 'ffz');
|
module.log.warn('[DEV-CHECK] Removed un-owned badge with chat.badges.removeBadge():', badge_id, ' owner:', existing.addon ?? 'ffz');
|
||||||
|
|
||||||
return this.removeBadge(badge_id, ...args);
|
return this.removeBadge(badge_id, ...args);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue