mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
chore: Enfore consistent file-name casing on all backend packages (#15755)
This commit is contained in:
committed by
GitHub
parent
66d339c0d8
commit
3a2a70f193
12
packages/workflow/src/workflow-data-proxy-helpers.ts
Normal file
12
packages/workflow/src/workflow-data-proxy-helpers.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { INodeExecutionData, Workflow, WorkflowExecuteMode } from '.';
|
||||
|
||||
export function getPinDataIfManualExecution(
|
||||
workflow: Workflow,
|
||||
nodeName: string,
|
||||
mode: WorkflowExecuteMode,
|
||||
): INodeExecutionData[] | undefined {
|
||||
if (mode !== 'manual') {
|
||||
return undefined;
|
||||
}
|
||||
return workflow.getPinDataOfNode(nodeName);
|
||||
}
|
||||
Reference in New Issue
Block a user