Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-lobanov committed Jan 10, 2023
1 parent 58ad646 commit 27ef05b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ ${renderedGraphIssues}
}
renderIssue(issue) {
const title = issue.getWrappedTitle();
const linkedTitle = issue.url ? `<a href='${issue.url}' style='text-decoration:none;color: inherit;'>${title}</a>` : title;
const linkedTitle = issue.url
? `<a href='${issue.url}' style='text-decoration:none;color: inherit;'>${title}</a>`
: title;
return `${issue.nodeId}("${linkedTitle}"):::${issue.status};`;
}
renderDependencies(dependencies) {
Expand Down
4 changes: 3 additions & 1 deletion src/mermaid-render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ ${renderedGraphIssues}

private renderIssue(issue: MermaidNode): string {
const title = issue.getWrappedTitle();
const linkedTitle = issue.url ? `<a href='${issue.url}' style='text-decoration:none;color: inherit;'>${title}</a>` : title;
const linkedTitle = issue.url
? `<a href='${issue.url}' style='text-decoration:none;color: inherit;'>${title}</a>`
: title;
return `${issue.nodeId}("${linkedTitle}"):::${issue.status};`;
}

Expand Down

0 comments on commit 27ef05b

Please sign in to comment.