feat: Do not assign all paired items (no-changelog) (#11716)

This commit is contained in:
Michael Kret
2025-02-06 15:46:28 +02:00
committed by GitHub
parent 2eabca5613
commit 4c2546dc78
33 changed files with 55 additions and 236 deletions

View File

@@ -22,7 +22,7 @@ import {
} from 'xlsx';
import { oldVersionNotice } from '@utils/descriptions';
import { flattenObject, generatePairedItemData } from '@utils/utilities';
import { flattenObject } from '@utils/utilities';
import {
operationProperty,
@@ -58,7 +58,6 @@ export class SpreadsheetFileV1 implements INodeType {
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const items = this.getInputData();
const pairedItem = generatePairedItemData(items.length);
const operation = this.getNodeParameter('operation', 0);
@@ -230,7 +229,6 @@ export class SpreadsheetFileV1 implements INodeType {
const newItem: INodeExecutionData = {
json: {},
binary: {},
pairedItem,
};
let fileName = `spreadsheet.${fileFormat}`;
@@ -247,7 +245,6 @@ export class SpreadsheetFileV1 implements INodeType {
json: {
error: error.message,
},
pairedItem,
});
} else {
throw error;