Skip to content

Commit

Permalink
Update packages/mermaid/src/diagrams/git/gitGraphParser.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sidharth Vinod <[email protected]>
  • Loading branch information
Austin-Fulbright and sidharthv96 authored Jul 27, 2024
1 parent ec2d9c9 commit 5dfc94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/git/gitGraphParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const parseCommit = (commit: CommitAst) => {
const id = commit.id;
const message = commit.message ?? '';
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);
};

Expand Down

0 comments on commit 5dfc94e

Please sign in to comment.