Skip to content

Commit

Permalink
fix(Managers): fix typo in unsupported warning (#6338)
Browse files Browse the repository at this point in the history
  • Loading branch information
xMooddyy committed Aug 7, 2021
1 parent 394d486 commit 917e71a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/managers/ChannelManager.js
Expand Up @@ -21,7 +21,7 @@ class ChannelManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/managers/GuildChannelManager.js
Expand Up @@ -26,7 +26,7 @@ class GuildChannelManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/managers/GuildManager.js
Expand Up @@ -34,7 +34,7 @@ class GuildManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/managers/PermissionOverwriteManager.js
Expand Up @@ -20,7 +20,7 @@ class PermissionOverwriteManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/managers/RoleManager.js
Expand Up @@ -20,7 +20,7 @@ class RoleManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}

Expand Down

0 comments on commit 917e71a

Please sign in to comment.