]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo in error message (#4434) [ci skip]
authorHerrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
Wed, 1 Sep 2021 20:42:24 +0000 (04:42 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Sep 2021 20:42:24 +0000 (16:42 -0400)
packages/compiler-core/src/errors.ts

index 09ec72901356c8cb0275074a4828778acacee0f6..57f2f3b2ef7036c67fe0a01564bfcf666cb26929 100644 (file)
@@ -132,7 +132,7 @@ export const errorMessages: Record<ErrorCodes, string> = {
     "Attribute name cannot start with '='.",
   [ErrorCodes.UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME]:
     "'<?' is allowed only in XML context.",
-  [ErrorCodes.UNEXPECTED_NULL_CHARACTER]: `Unexpected null cahracter.`,
+  [ErrorCodes.UNEXPECTED_NULL_CHARACTER]: `Unexpected null character.`,
   [ErrorCodes.UNEXPECTED_SOLIDUS_IN_TAG]: "Illegal '/' in tags.",
 
   // Vue-specific parse errors