Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zeotuan committed Sep 25, 2024
1 parent 2f76e37 commit e49b44f
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ object ArrayUtil {
.toString()

// column names
rows.head.zipWithIndex.map { case (cell, i) =>
if (truncate > 0) {
StringUtils.leftPad(cell, colWidths(i))
} else {
StringUtils.rightPad(cell, colWidths(i))
rows.head.zipWithIndex
.map { case (cell, i) =>
if (truncate > 0) {
StringUtils.leftPad(cell, colWidths(i))
} else {
StringUtils.rightPad(cell, colWidths(i))
}
}
}.addString(sb, "|", "|", "|\n")
.addString(sb, "|", "|", "|\n")

sb.append(sep)

Expand Down

0 comments on commit e49b44f

Please sign in to comment.