Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
Co-authored-by: Per Brolin <per@mermaidchart.com>
  • Loading branch information
sidharthv96 and pbrolin47 committed Feb 20, 2023
1 parent 8743e9e commit 14c15b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagram-api/detectType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const loadRegisteredDiagrams = async () => {
registerDiagram(id, diagram, detector);
} catch (err) {
// Remove failed diagram from detectors
log.error(`Failed to load external diagram with key ${key}. Remozing from detectors.`);
log.error(`Failed to load external diagram with key ${key}. Removing from detectors.`);
delete detectors[key];
throw err;
}
Expand Down

0 comments on commit 14c15b2

Please sign in to comment.