From 27ef05b0d6c2f4419abd80ecf580272af2e73d0b Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Tue, 10 Jan 2023 18:46:03 +0000 Subject: [PATCH] fix prettier --- dist/index.js | 4 +++- src/mermaid-render.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8e87d00..b27604a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -448,7 +448,9 @@ ${renderedGraphIssues} } renderIssue(issue) { const title = issue.getWrappedTitle(); - const linkedTitle = issue.url ? `${title}` : title; + const linkedTitle = issue.url + ? `${title}` + : title; return `${issue.nodeId}("${linkedTitle}"):::${issue.status};`; } renderDependencies(dependencies) { diff --git a/src/mermaid-render.ts b/src/mermaid-render.ts index 590f2a3..0143099 100644 --- a/src/mermaid-render.ts +++ b/src/mermaid-render.ts @@ -62,7 +62,9 @@ ${renderedGraphIssues} private renderIssue(issue: MermaidNode): string { const title = issue.getWrappedTitle(); - const linkedTitle = issue.url ? `${title}` : title; + const linkedTitle = issue.url + ? `${title}` + : title; return `${issue.nodeId}("${linkedTitle}"):::${issue.status};`; }