mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Remove dead utils (no-changelog) (#8947)
This commit is contained in:
@@ -39,18 +39,6 @@ export const findSubworkflowStart = findWorkflowStart('integrated');
|
||||
|
||||
export const findCliWorkflowStart = findWorkflowStart('cli');
|
||||
|
||||
export const alphabetizeKeys = (obj: INode) =>
|
||||
Object.keys(obj)
|
||||
.sort()
|
||||
.reduce<Partial<INode>>(
|
||||
(acc, key) => ({
|
||||
...acc,
|
||||
// @ts-expect-error @TECH_DEBT Adding index signature to INode causes type issues downstream
|
||||
[key]: obj[key],
|
||||
}),
|
||||
{},
|
||||
);
|
||||
|
||||
export const separate = <T>(array: T[], test: (element: T) => boolean) => {
|
||||
const pass: T[] = [];
|
||||
const fail: T[] = [];
|
||||
|
||||
Reference in New Issue
Block a user