diff --git a/packages/backend/src/fun/dev-console-ui-utils.js b/packages/backend/src/fun/dev-console-ui-utils.js index db9ac2a4..aaf8259e 100644 --- a/packages/backend/src/fun/dev-console-ui-utils.js +++ b/packages/backend/src/fun/dev-console-ui-utils.js @@ -9,6 +9,7 @@ let stringLength; // process.exit(0); })(); const surrounding_box = (col, lines, lengths) => { + if ( ! stringLength ) return; if ( ! lengths ) { lengths = lines.map(line => stringLength(line)); }