style: 清理工作流拆分文件尾部空行

This commit is contained in:
gitea committed 2026-10-30 17:51:50 +08:00
1 parent 8eace1e828
commit 720360d6f1
9 files changed
-14

No files matched your search

@@ -143,5 +143,3 @@ export function diffWorkflowSnapshots(
},
};
}
@@ -37,5 +37,3 @@ export function generateTextDiff(a: string, b: string, labelA = "from", labelB =
}
return output.join("\n");
}
@@ -33,5 +33,3 @@ export function getJobExecutionLevel(...args: Parameters<typeof api.getJobExecut
export function getExecutionLogs(...args: Parameters<typeof api.getExecutionLogs>) {
return api.getExecutionLogs(...args);
}
@@ -96,4 +96,3 @@ export interface WorkflowJobDiff {
statusDiffCount: number;
};
}
@@ -102,6 +102,3 @@ export async function grantWorkflowNodesApi(options: {
throw new EkbApiError(`灰度节点开通网关调用失败: ${message}`, "GATEWAY_ERROR", 502);
}
}
@@ -74,4 +74,3 @@ export async function getWorkflowSampleData(
});
return unwrap(response, WorkflowSampleDataResultSchema);
}
@@ -101,4 +101,3 @@ export async function getExecutionLogs(
);
return Array.isArray(parsed) ? parsed : parsed.items;
}
@@ -176,4 +176,3 @@ export async function toggleWorkflow(
});
return ok(response);
}
@@ -59,4 +59,3 @@ export async function unwrap<T>(response: Response, schema: z.ZodType<T>): Promi
export async function ok(response: Response): Promise<{ success: boolean }> {
return { success: response.status === 200 };
}