From b63828f88dba831c25a55153c222bf96c0696def Mon Sep 17 00:00:00 2001 From: Ashley Engelund Date: Thu, 3 Nov 2022 12:03:52 -0700 Subject: [PATCH] chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751) * fix misspelled "mermiad" -> 'mermaid' in cSpell.json * correct misspelled word caught by cspell --- cSpell.json | 2 +- packages/mermaid/src/Diagram.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cSpell.json b/cSpell.json index b6bf26fa4..0d9ed77a1 100644 --- a/cSpell.json +++ b/cSpell.json @@ -6,7 +6,7 @@ "customizability", "Gantt", "jison", - "mermiad", + "mermaid", "mindmap", "Mindmaps", "mitigations", diff --git a/packages/mermaid/src/Diagram.ts b/packages/mermaid/src/Diagram.ts index d6c226cde..f0adf33a4 100644 --- a/packages/mermaid/src/Diagram.ts +++ b/packages/mermaid/src/Diagram.ts @@ -55,7 +55,7 @@ export class Diagram { } 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()) ? if (parseError === undefined) {