chore: cleanup

This commit is contained in:
Sidharth Vinod 2022-10-07 14:53:16 +08:00
parent 3e3de72093
commit 66bc844cc9
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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);
// });
}