From d4e735fa44786acc75d4a3004718e1b105188d73 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Fri, 1 Jan 2021 19:38:53 -0500 Subject: [PATCH] tweak warning message --- src/compiler/compile/nodes/Element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index 24bae853dd..b12e616f4d 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -452,7 +452,7 @@ export default class Element extends Node { if (react_attributes.has(attribute.name)) { component.warn(attribute, { code: 'invalid-html-attribute', - message: `'${attribute.name}' is not a valid html attribute. Did you mean '${react_attributes.get(attribute.name)}'?` + message: `'${attribute.name}' is not a valid HTML attribute. Did you mean '${react_attributes.get(attribute.name)}'?` }); }