Skip to content

Commit

Permalink
updated bot.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Oct 15, 2024
1 parent ef06d86 commit 79fc0d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/argument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ export class TypeResolverError extends Error {
: `"${this.options.provided}"`
}\nExpected:\n${this.options.expected
.map(
(expect) =>
`- ${typeof expect === "number" || typeof expect === "boolean" ? expect : `"${expect}"`}`,
(expect, index, all) =>
` ${index < all.length - 1 ? "├" : "└"} ${typeof expect === "number" || typeof expect === "boolean" ? expect : `"${expect}"`}`,
)
.join(" / ")}`
.join("\n")}`
}
}

Expand Down

0 comments on commit 79fc0d1

Please sign in to comment.