mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Remove NodeExecutionOutput. Add execution hints directly to the context (#13111)
This commit is contained in:
committed by
GitHub
parent
5dddf772cf
commit
dbb9475b7b
@@ -165,7 +165,8 @@ export class Code implements INodeType {
|
||||
standardizeOutput(item.json);
|
||||
}
|
||||
|
||||
return addPostExecutionWarning(items, inputDataItems?.length);
|
||||
addPostExecutionWarning(this, items, inputDataItems?.length);
|
||||
return [items];
|
||||
}
|
||||
|
||||
// ----------------------------------
|
||||
@@ -201,6 +202,7 @@ export class Code implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
return addPostExecutionWarning(returnData, inputDataItems?.length);
|
||||
addPostExecutionWarning(this, returnData, inputDataItems?.length);
|
||||
return [returnData];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user