Skip to content

Commit

Permalink
lib: making som JS file changes only for triggering workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJithil committed Nov 4, 2023
1 parent 370690f commit 64972f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/internal/assert/assertion_error.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ class AssertionError extends Error {
this.name = 'AssertionError';
}

toString() {
return `${this.name} [${this.code}]: ${this.message}`;
}
toString = ()=> `${this.name} [${this.code}]: ${this.message}`;

[inspect.custom](recurseTimes, ctx) {
// Long strings should not be fully inspected.
Expand Down

0 comments on commit 64972f4

Please sign in to comment.