From 3803d261c1f24a80a174fbbf77622c2b138ebd0d Mon Sep 17 00:00:00 2001 From: Antonio Stoilkov Date: Fri, 1 Nov 2024 11:37:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20don't=20align=20object=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is causing more problems that it solves --- src/inspect/inspectors/inspectObject.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/inspect/inspectors/inspectObject.ts b/src/inspect/inspectors/inspectObject.ts index 7893df1..59b2b49 100644 --- a/src/inspect/inspectors/inspectObject.ts +++ b/src/inspect/inspectors/inspectObject.ts @@ -95,9 +95,9 @@ export function inspectObjectMultiLine( const key = sortedKeys[i]!; spans.push(consoleText(key, consoleStyles[options.theme].highlight)); spans.push(consoleText(": ")); - if (maxLength < context.wrap / 2) { - spans.push(consoleText(" ".repeat(maxLength - key.length))); - } + // if (maxLength < context.wrap / 2) { + // spans.push(consoleText(" ".repeat(maxLength - key.length))); + // } const value = object[key as keyof typeof object]; const inspection = inspectAny(value, options, {