Skip to content

Commit

Permalink
fix(ValidationError): never return this in the ctor (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-ciniawsky committed Dec 4, 2017
1 parent 9a36941 commit c723791
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ValidationError.js
Expand Up @@ -13,8 +13,6 @@ class ValidationError extends Error {
this.errors = errors;

Error.captureStackTrace(this, this.constructor);

return this;
}
}

Expand Down

0 comments on commit c723791

Please sign in to comment.