Skip to content

Commit

Permalink
chore: fix prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanmanning committed Dec 18, 2023
1 parent 0344611 commit dd9e01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"prettier"
],
"rules": {
"indent": "off",
"jsdoc/check-access": "error",
"jsdoc/require-description-complete-sentence": "error",
"jsdoc/tag-lines": ["warn", "any", { "startLines": 1 }],
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/lib/http-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class HttpError extends OperationalError {
typeof data.statusCode === 'number'
? HttpError.normalizeErrorStatusCode(data.statusCode)
: // @ts-ignore TypeScript does not properly infer the constructor
this.constructor.defaultStatusCode;
this.constructor.defaultStatusCode;
this.statusMessage = HttpError.getMessageForStatusCode(this.statusCode);

// Default the error code to one that includes the HTTP status
Expand Down

0 comments on commit dd9e01d

Please sign in to comment.