mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: First/last being extended on proxy objects (#5140)
* fix: first/last being extended on proxy objects * fix: better method that won't require changes later
This commit is contained in:
@@ -227,7 +227,6 @@ export function extend(input: unknown, functionName: string, args: unknown[]) {
|
||||
if (
|
||||
inputAny &&
|
||||
functionName &&
|
||||
functionName in inputAny &&
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
typeof inputAny[functionName] === 'function'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user