mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08: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) => {
|
||||
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
|
||||
console.log(logOutput);
|
||||
return logOutput;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user