diff --git a/src/utils/logger.ts b/src/utils/logger.ts index a412823..24945f8 100755 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -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 += ' '