mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
comments
This commit is contained in:
parent
401a0d2501
commit
6b7e109afc
|
@ -18,7 +18,8 @@ import {
|
||||||
fieldValueGetter,
|
fieldValueGetter,
|
||||||
splitData,
|
splitData,
|
||||||
} from './utils';
|
} from './utils';
|
||||||
import { generatePairedItemData } from '../../../utils/utilities';
|
// import { generatePairedItemData } from '../../../utils/utilities';
|
||||||
|
// [ria] not needed
|
||||||
export class Summarize implements INodeType {
|
export class Summarize implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
displayName: 'Summarize',
|
displayName: 'Summarize',
|
||||||
|
@ -334,7 +335,7 @@ export class Summarize implements INodeType {
|
||||||
if (nodeVersion > 1 || options.continueIfFieldNotFound) {
|
if (nodeVersion > 1 || options.continueIfFieldNotFound) {
|
||||||
// const itemData = generatePairedItemData(items.length); // deleted from return array
|
// const itemData = generatePairedItemData(items.length); // deleted from return array
|
||||||
const fieldNotFoundHint: NodeExecutionHint = {
|
const fieldNotFoundHint: NodeExecutionHint = {
|
||||||
message: error.message,
|
message: error instanceof Error ? error.message : String(error),
|
||||||
location: 'outputPane',
|
location: 'outputPane',
|
||||||
};
|
};
|
||||||
const { pairedItems, ...json } = aggregationResult;
|
const { pairedItems, ...json } = aggregationResult;
|
||||||
|
|
Loading…
Reference in a new issue