Skip to content

Commit

Permalink
Merge pull request redhat-developer#43 from redhat-developer/yaml-ls-…
Browse files Browse the repository at this point in the history
…0.0.9

Updated error message for redhat-developer/yaml-language-server#42
  • Loading branch information
JPinkney authored Jan 24, 2018
2 parents ab23e6c + 4cee37e commit 8f96d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageService/parser/jsonParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});
}
});
Expand Down

0 comments on commit 8f96d1e

Please sign in to comment.