Skip to content

Commit

Permalink
remove unnecessary result wrap in object in infoParser
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Aug 14, 2023
1 parent 23e072e commit 3d904e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mermaid/src/diagrams/info/infoParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { Info } from 'mermaid-parser';
import { parse } from 'mermaid-parser';

import { log } from '../../logger.js';
import { ParserDefinition } from '../../diagram-api/types.js';
import type { ParserDefinition } from '../../diagram-api/types.js';

export const parser: ParserDefinition = {
parse: (input: string): void => {
const result = parse<Info>('info', input);
log.debug({ result });
log.debug(result);
},
};

0 comments on commit 3d904e6

Please sign in to comment.