Skip to content

Commit

Permalink
✏️ clarify with a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Dec 9, 2024
1 parent 03cd1ea commit 917da8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inspect/inspectors/inspectObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export function inspectObjectMultiLine(
const key = sortedKeys[i]!;
spans.push(consoleText(key, consoleStyles[options.theme].highlight));
spans.push(consoleText(": "));
// - align object keys
// - commented out for now, as it creates more problems than it solves
// if (maxLength < context.wrap / 2) {
// spans.push(consoleText(" ".repeat(maxLength - key.length)));
// }
Expand Down

0 comments on commit 917da8b

Please sign in to comment.