Skip to content

Commit 666b613

Browse files
authored
Bugfix mermaid diagram title is 'undefined' on GHES (#25)
2 parents 838e853 + 177c085 commit 666b613

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/post.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/workflow_gantt.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const createGantt = (
112112
workflow: Workflow,
113113
workflowJobs: WorkflowJobs,
114114
): string => {
115-
const title = workflowJobs[0].workflow_name;
115+
const title = workflow.name;
116116
const jobs = filterJobs(workflowJobs).map(
117117
(job, jobIndex, _jobs): ganttJob => {
118118
const section = escapeName(job.name);

0 commit comments

Comments
 (0)