Skip to content

Commit

Permalink
chore(deps): resolve lint issues
Browse files Browse the repository at this point in the history
resolve lint issues

GH-174
  • Loading branch information
Surbhi-sharma1 committed Jun 5, 2024
1 parent ab6f64f commit a2493dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/ratelimit.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class RatelimitMiddlewareProvider implements Provider<Middleware> {
});
if (enabledByDefault === true) {
await promise;
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
} else if (enabledByDefault === false && metadata && metadata.enabled) {
await promise;
} else {
Expand Down
1 change: 1 addition & 0 deletions src/providers/ratelimit-action.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class RatelimitActionProvider implements Provider<RateLimitAction> {
});
if (enabledByDefault === true) {
await promise;
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
} else if (enabledByDefault === false && metadata && metadata.enabled) {
await promise;
} else {
Expand Down

0 comments on commit a2493dc

Please sign in to comment.