mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix: Prevent type error messages for manual executions (no-changelog) (#6229)
* fix: Prevent type error messages for manual executions (no-changelog) * Update packages/core/src/WorkflowExecute.ts Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com> --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
This commit is contained in:
parent
e72d564bf8
commit
8402c0f400
|
@ -199,10 +199,11 @@ export class WorkflowExecute {
|
|||
if (node && pinData && pinData[node.name]) {
|
||||
incomingData.push(pinData[node.name]);
|
||||
} else {
|
||||
incomingData.push(
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
runData[connection.node][runIndex].data![connection.type][connection.index]!,
|
||||
);
|
||||
const nodeIncomingData =
|
||||
runData[connection.node][runIndex]?.data?.[connection.type][connection.index];
|
||||
if (nodeIncomingData) {
|
||||
incomingData.push(nodeIncomingData);
|
||||
}
|
||||
}
|
||||
|
||||
incomingSourceData.main.push({
|
||||
|
|
Loading…
Reference in a new issue