mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
log table col width fix
This commit is contained in:
@@ -392,7 +392,7 @@ function logTable(
|
||||
cellVal = cell.toString()
|
||||
}
|
||||
|
||||
if (colWidth[j]) {
|
||||
if (colWidth && colWidth[j] && colWidth[j] !== -1) {
|
||||
if (cellVal.length < colWidth[j]) {
|
||||
while (cellVal.length < colWidth[j]) {
|
||||
cellVal += ' '
|
||||
|
Reference in New Issue
Block a user