chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751)

* fix misspelled "mermiad" -> 'mermaid' in cSpell.json

* correct misspelled word caught by cspell
This commit is contained in:
Ashley Engelund
2022-11-03 12:03:52 -07:00
committed by GitHub
parent 4870d37027
commit b63828f88d
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
"customizability", "customizability",
"Gantt", "Gantt",
"jison", "jison",
"mermiad", "mermaid",
"mindmap", "mindmap",
"Mindmaps", "Mindmaps",
"mitigations", "mitigations",

View File

@@ -55,7 +55,7 @@ export class Diagram {
} }
handleError(error: unknown, parseError?: ParseErrorFunction) { handleError(error: unknown, parseError?: ParseErrorFunction) {
// Is this the correct way to access mermiad's parseError() // Is this the correct way to access mermaid's parseError()
// method ? (or global.mermaid.parseError()) ? // method ? (or global.mermaid.parseError()) ?
if (parseError === undefined) { if (parseError === undefined) {