mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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:
@@ -448,7 +448,7 @@ export class Chargebee implements INodeType {
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
const returnData: INodeExecutionData[] = [];
|
||||
let item: INodeExecutionData;
|
||||
let _item: INodeExecutionData;
|
||||
|
||||
const credentials = await this.getCredentials('chargebeeApi');
|
||||
|
||||
@@ -461,7 +461,7 @@ export class Chargebee implements INodeType {
|
||||
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
try {
|
||||
item = items[i];
|
||||
_item = items[i];
|
||||
const resource = this.getNodeParameter('resource', i) as string;
|
||||
const operation = this.getNodeParameter('operation', i) as string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user