Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit d533687

Browse files
committed
remove trailing space
1 parent c24d65a commit d533687

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hooks/redis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function after(options) { // eslint-disable-line no-unused-vars
5454
if (!hook.result.cache.cached) {
5555
const duration = hook.result.cache.duration || options.defaultDuration;
5656
const client = hook.app.get('redisClient');
57-
57+
5858
if (!client) {
5959
resolve(hook);
6060
}

src/redisClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import redis from 'redis';
22
import chalk from 'chalk';
33

44
export default function redisClient() { // eslint-disable-line no-unused-vars
5-
const app = this;;
5+
const app = this;
66
const cacheOptions = app.get('redisCache') || {};
77
const retryInterval = cacheOptions.retryInterval || 10000;
88
const redisOptions = Object.assign({}, this.get('redis'), {

0 commit comments

Comments
 (0)