From 4cee37e89f6b9715829d5248e179497b0c000890 Mon Sep 17 00:00:00 2001 From: jpinkney Date: Tue, 23 Jan 2018 10:56:46 -0500 Subject: [PATCH] Updated error message for redhat-developer/yaml-language-server#42 --- src/languageService/parser/jsonParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languageService/parser/jsonParser.ts b/src/languageService/parser/jsonParser.ts index b2943e2e..936d64e3 100644 --- a/src/languageService/parser/jsonParser.ts +++ b/src/languageService/parser/jsonParser.ts @@ -865,7 +865,7 @@ export class ObjectASTNode extends ASTNode { validationResult.problems.push({ location: { start: propertyNode.key.start, end: propertyNode.key.end }, severity: ProblemSeverity.Warning, - message: schema.errorMessage || localize('DisallowedExtraPropWarning', 'Property {0} is not allowed.', propertyName) + message: schema.errorMessage || localize('DisallowedExtraPropWarning', 'Unexpected property {0}', propertyName) }); } });