Skip to content

Commit

Permalink
refactor: . Inline return variable markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Oct 20, 2023
1 parent 423e75d commit ab3be3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StatusRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,12 @@ export class StatusRegistry {
edges.push(`${index + 1} --> ${nextStatusIndex + 1}`);
});

const markdown = `
return `
\`\`\`${language}
flowchart LR
${nodes.join('\n')}
${edges.join('\n')}
\`\`\`
`;
return markdown;
}
}

0 comments on commit ab3be3a

Please sign in to comment.