mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
@@ -74,7 +74,7 @@ export function getAllWorkflowExecutionMetadata(
|
||||
executionData: IRunExecutionData,
|
||||
): Record<string, string> {
|
||||
// Make a copy so it can't be modified directly
|
||||
return { ...executionData.resultData.metadata } ?? {};
|
||||
return executionData.resultData.metadata ? { ...executionData.resultData.metadata } : {};
|
||||
}
|
||||
|
||||
export function getWorkflowExecutionMetadata(
|
||||
|
||||
Reference in New Issue
Block a user