Skip to content

Commit

Permalink
🔀 don't align object keys
Browse files Browse the repository at this point in the history
this is causing more problems that it solves
  • Loading branch information
astoilkov committed Nov 1, 2024
1 parent 1900375 commit 3803d26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/inspect/inspectors/inspectObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 3803d26

Please sign in to comment.