Skip to content

Commit

Permalink
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sidharth Vinod <github@sidharth.dev>
  • Loading branch information
Austin-Fulbright and sidharthv96 authored Jul 27, 2024
1 parent 346efdd commit a0207f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/git/gitGraphAst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const getOptions = function () {
return state.records.options;
};

export const commit = function (msg: string, id: string, type: number, tags: string[] | undefined) {
export const commit = function (msg: string, id: string, type: number, tags?: string[]) {
log.info('commit', msg, id, type, tags);
log.debug('Entering commit:', msg, id, type, tags);
const config = getConfig();
Expand Down

0 comments on commit a0207f9

Please sign in to comment.