mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +02:00
remove console stmt
This commit is contained in:

parent
fdbc4ce0ed
commit
22993e8b6c
@@ -2,6 +2,5 @@ import type { DiagramDetector } from '../../diagram-api/types';
|
|||||||
|
|
||||||
export const pieDetector: DiagramDetector = (txt) => {
|
export const pieDetector: DiagramDetector = (txt) => {
|
||||||
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
|
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
|
||||||
console.log(logOutput);
|
|
||||||
return logOutput;
|
return logOutput;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user