Skip to content

Commit

Permalink
Updated error message for #42
Browse files Browse the repository at this point in the history
  • Loading branch information
JPinkney committed Jan 23, 2018
1 parent ab23e6c commit 4cee37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageService/parser/jsonParser.ts
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 4cee37e

Please sign in to comment.