mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
@@ -212,11 +212,11 @@ export class Git implements INodeType {
|
||||
};
|
||||
|
||||
const operation = this.getNodeParameter('operation', 0) as string;
|
||||
let item: INodeExecutionData;
|
||||
let _item: INodeExecutionData;
|
||||
const returnItems: INodeExecutionData[] = [];
|
||||
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
||||
try {
|
||||
item = items[itemIndex];
|
||||
_item = items[itemIndex];
|
||||
|
||||
const repositoryPath = this.getNodeParameter('repositoryPath', itemIndex, '') as string;
|
||||
const options = this.getNodeParameter('options', itemIndex, {}) as IDataObject;
|
||||
|
||||
Reference in New Issue
Block a user