Skip to content

Commit

Permalink
fixing linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chronosis committed Jul 1, 2024
1 parent 5d1aafb commit 51dc177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ jobs:
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# or
# api-token: ${{ secrets.CODACY_API_TOKEN }}
coverage-reports: ./coverage/lcov.info

- name: Notify slack success
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-prototype-builtins */
// index.js

// Dependencies
Expand All @@ -18,7 +19,7 @@ import MemoryCache from '@outofsync/memory-cache';
const memCache = new MemoryCache();

function isRedisClient(client) {
return RedisClient.prototype.isPrototypeOf(client);
return RedisClient.prototype.isPrototypeOf(RedisClient, client);
}

const defaults = {
Expand Down

0 comments on commit 51dc177

Please sign in to comment.