Skip to content

Commit

Permalink
fix: upgrading
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaperskyguru committed Apr 9, 2022
1 parent c7c495a commit 9a9e51a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"commitizen": "^4.2.4",
"copyfiles": "^2.4.1",
"doctoc": "^2.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-adonis": "^2.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-prettier": "^4.0.0",
"github-label-sync": "^2.2.0",
"husky": "^6.0.0",
"mrm": "^2.6.2",
Expand Down Expand Up @@ -107,5 +107,8 @@
"@adonisjs/redis": {
"optional": true
}
},
"dependencies": {
"fs": "^0.0.1-security"
}
}
4 changes: 2 additions & 2 deletions src/Engines/RedisCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RedisCache implements EngineInterface {
*/
if (!this.config.connections) {
throw new Error(
'Missing "connections" property for redis provider inside "config/redis" file'
'Missing "connections" property for redis provider inside "config/redis" file',
)
}

Expand All @@ -53,7 +53,7 @@ class RedisCache implements EngineInterface {
* Define custom connection
*/
public setConnection(
connection: string | RedisConnectionContract | RedisClusterConnectionContract
connection: string | RedisConnectionContract | RedisClusterConnectionContract,
): this {
this.connection = connection
return this
Expand Down

0 comments on commit 9a9e51a

Please sign in to comment.