mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Update packages/mermaid/src/diagrams/git/gitGraphParser.ts
Co-authored-by: Sidharth Vinod <github@sidharth.dev>
This commit is contained in:
@@ -51,7 +51,7 @@ const parseCommit = (commit: CommitAst) => {
|
|||||||
const id = commit.id;
|
const id = commit.id;
|
||||||
const message = commit.message ?? '';
|
const message = commit.message ?? '';
|
||||||
const tags = commit.tags ?? undefined;
|
const tags = commit.tags ?? undefined;
|
||||||
const type = commit.type !== undefined ? commitType[commit.type] : 0;
|
const type = commit.type !== undefined ? commitType[commit.type] : commitType.NORMAL;
|
||||||
db.commit(message, id, type, tags);
|
db.commit(message, id, type, tags);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user