Skip to content

Commit

Permalink
Update inspect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shysolocup authored Nov 9, 2023
1 parent 9deaa77 commit 5516c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stew/internals/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Stew.prototype[util.inspect.custom] = function(depth, opts) {
if (this.type == "list") {
data = `[ ${this.map( v => `${
(typeof v == "string") ? `"${v}"` :
(typeof v == "object") ? `[${v[1].constructor.name}]` :
(typeof v == "object") ? `[${v.constructor.name}]` :
v
}`).join(", ")} ]`;
}
Expand Down

0 comments on commit 5516c77

Please sign in to comment.