chore: fix typo in error message (#4434) [ci skip]

This commit is contained in:
Herrington Darkholme 2021-09-02 04:42:24 +08:00 committed by GitHub
parent 741d3b36f2
commit 7178716b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ export const errorMessages: Record<ErrorCodes, string> = {
"Attribute name cannot start with '='.", "Attribute name cannot start with '='.",
[ErrorCodes.UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME]: [ErrorCodes.UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME]:
"'<?' is allowed only in XML context.", "'<?' 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.", [ErrorCodes.UNEXPECTED_SOLIDUS_IN_TAG]: "Illegal '/' in tags.",
// Vue-specific parse errors // Vue-specific parse errors