mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Mark StrictValidationError errors property as readonly
This commit is contained in:
parent
958509ea9b
commit
5dee58d36e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ function getContextPath(context) {
|
|||
// tslint:enable
|
||||
|
||||
export class StrictValidationError extends Error {
|
||||
private errors;
|
||||
private readonly errors;
|
||||
|
||||
constructor(errors: string[]) {
|
||||
errors = Array.from(new Set(errors));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue