Skip to content

Commit

Permalink
fix(exception): use message instead of this.message
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Sep 28, 2023
1 parent 6f9b98a commit 4fcf154
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/common",
"version": "4.15.4",
"version": "4.15.5",
"description": "The Athenna common helpers to use in any Node.js ESM project.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class Exception extends Error {
Color.apply(this.help)
)}\n\n ${separator}`
} else {
message = this.message.concat(`\n\n${separator}`)
message = message.concat(`\n\n${separator}`)
}

const pretty = await new Youch(
Expand Down

0 comments on commit 4fcf154

Please sign in to comment.