fix(core): Correctly apply maxRows limit when fetching the dataset (#16176)

This commit is contained in:
Yiorgis Gozadinos
2025-06-10 13:58:20 +02:00
committed by GitHub
parent aa1c3e497e
commit 09fd5c01d4

View File

@@ -143,7 +143,7 @@ export class EvaluationTrigger implements INodeType {
{},
);
const result = testRunnerResult.filter((row) => (row?.json?.row_number as number) <= maxRows);
const result = testRunnerResult.slice(0, maxRows - 1);
return [result];
}