refactor(core): Remove dead utils (no-changelog) (#8947)

This commit is contained in:
Iván Ovejero
2024-03-25 17:59:42 +01:00
committed by GitHub
parent 69807a5efb
commit 7d52419d6f
3 changed files with 0 additions and 52 deletions

View File

@@ -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[] = [];