From 66bc844cc9ec45fbf806b43407f14c468fde9d16 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 7 Oct 2022 14:53:16 +0800 Subject: [PATCH] chore: cleanup --- packages/mermaid/src/diagram-api/detectType.ts | 3 --- packages/mermaid/src/mermaid.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/mermaid/src/diagram-api/detectType.ts b/packages/mermaid/src/diagram-api/detectType.ts index 6a31dd1a9..340cbfbae 100644 --- a/packages/mermaid/src/diagram-api/detectType.ts +++ b/packages/mermaid/src/diagram-api/detectType.ts @@ -54,9 +54,6 @@ export const addDetector = ( loader: DiagramLoader | null ) => { detectors[key] = { detector, loader }; - // TODO: Remove - // eslint-disable-next-line no-console - console.log(detectors); }; export const getDiagramLoader = (key: string) => detectors[key].loader; diff --git a/packages/mermaid/src/mermaid.ts b/packages/mermaid/src/mermaid.ts index d59c43ec7..07bd2ccfe 100644 --- a/packages/mermaid/src/mermaid.ts +++ b/packages/mermaid/src/mermaid.ts @@ -58,9 +58,6 @@ const init = async function ( if (typeof conf.extraDiagrams !== 'undefined' && conf.extraDiagrams.length > 0) { // config.extraDiagrams.forEach(async (diagram: string) => { const { id, detector, loadDiagram } = await import(conf.extraDiagrams[0]); - // TODO: Remove - // eslint-disable-next-line no-console - console.log(id, detector, loadDiagram); addDetector(id, detector, loadDiagram); // }); }