Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console: fix console.table() display edge case #20323

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Apr 26, 2018

If the properties are not specified in console.table(), then we should
make a best effort to determine them rather than put all values into a
"Values" column.

Refs: #20318 (review)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@devsnek

If the properties are not specified in `console.table()`, then we should
make a best effort to determine them rather than put all values into a
"Values" column.
@nodejs-github-bot nodejs-github-bot added the console Issues and PRs related to the console subsystem. label Apr 26, 2018
@Trott Trott mentioned this pull request Apr 26, 2018
1 task
@Trott
Copy link
Member Author

Trott commented Apr 26, 2018

@Trott
Copy link
Member Author

Trott commented Apr 26, 2018

@TimothyGu

@Trott
Copy link
Member Author

Trott commented Apr 26, 2018

node-test-commit-linux re-run: https://ci.nodejs.org/job/node-test-commit-linux/18297/

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 26, 2018
Copy link
Member

@benjamingr benjamingr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes LGTM, I think this can land as semver-patch.

@benjamingr
Copy link
Member

@sant123 thanks for the review!

Trott added a commit to Trott/io.js that referenced this pull request Apr 28, 2018
If the properties are not specified in `console.table()`, then we should
make a best effort to determine them rather than put all values into a
"Values" column.

PR-URL: nodejs#20323
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@Trott
Copy link
Member Author

Trott commented Apr 28, 2018

Landed in 99d56a4

@Trott Trott closed this Apr 28, 2018
MylesBorins pushed a commit that referenced this pull request May 4, 2018
If the properties are not specified in `console.table()`, then we should
make a best effort to determine them rather than put all values into a
"Values" column.

PR-URL: #20323
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 8, 2018
@Trott Trott deleted the fix-table-bug branch January 13, 2022 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. console Issues and PRs related to the console subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants