mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Update rule typescript-eslint/no-unused-vars to not error when variable starts with _ (#4523)
* ⚡ rule and fixes * ⚡ clean up
This commit is contained in:
@@ -513,7 +513,7 @@ export class Redis implements INodeType {
|
||||
try {
|
||||
const client = await redis.createClient(redisOptions);
|
||||
// tslint:disable-next-line: no-any
|
||||
const data = await new Promise((resolve, reject): any => {
|
||||
const _data = await new Promise((resolve, reject): any => {
|
||||
client.on('connect', async () => {
|
||||
client.ping('ping', (error, pong) => {
|
||||
if (error) reject(error);
|
||||
@@ -677,7 +677,7 @@ export class Redis implements INodeType {
|
||||
reject(err);
|
||||
});
|
||||
|
||||
client.on('ready', async (err: Error | null) => {
|
||||
client.on('ready', async (_err: Error | null) => {
|
||||
client.select(credentials.database as number);
|
||||
try {
|
||||
if (operation === 'info') {
|
||||
|
||||
Reference in New Issue
Block a user